Merge pull request #8603 from Chocobo1/typo

Fix typo
This commit is contained in:
Mike Tzou
2018-03-17 00:49:41 +08:00
committed by GitHub
16 changed files with 43 additions and 43 deletions

View File

@@ -344,7 +344,7 @@ window.addEvent('load', function () {
response['torrents_removed'].each(function (hash) {
torrentsTable.removeRow(hash);
removeTorrentFromCategoryList(hash);
update_categories = true; // Allways to update All category
update_categories = true; // Always to update All category
});
torrentsTable.updateTable(full_update);
torrentsTable.altRow();

View File

@@ -62,7 +62,7 @@ var ContextMenu = new Class({
if (this.menu.hasClass('scrollableMenu'))
this.menu.setStyle('max-height', scrollableMenuMaxHeight);
// draw the menu off-screen to know the menu dimentions
// draw the menu off-screen to know the menu dimensions
this.menu.setStyles({
left: '-999em',
top: '-999em'

View File

@@ -26,7 +26,7 @@
Script : Dynamic Table
Version : 0.5
Authors : Ishan Arora & Christophe Dumez
Desc : Programable sortable table
Desc : Programmable sortable table
Licence : Open Source MIT Licence
**************************************************************/

View File

@@ -49,7 +49,7 @@ if (!document.createElement('canvas').getContext) {
var Z2 = Z / 2;
/**
* This funtion is assigned to the <canvas> elements as element.getContext().
* This function is assigned to the <canvas> elements as element.getContext().
* @this {HTMLElement}
* @return {CanvasRenderingContext2D_}
*/
@@ -469,7 +469,7 @@ if (!document.createElement('canvas').getContext) {
contextPrototype.drawImage = function(image, var_args) {
var dx, dy, dw, dh, sx, sy, sw, sh;
// to find the original width we overide the width and height
// to find the original width we override the width and height
var oldRuntimeWidth = image.runtimeStyle.width;
var oldRuntimeHeight = image.runtimeStyle.height;
image.runtimeStyle.width = 'auto';
@@ -479,7 +479,7 @@ if (!document.createElement('canvas').getContext) {
var w = image.width;
var h = image.height;
// and remove overides
// and remove overrides
image.runtimeStyle.width = oldRuntimeWidth;
image.runtimeStyle.height = oldRuntimeHeight;

View File

@@ -65,7 +65,7 @@ MUI.extend({
updateOptions:
element - The parent window or panel.
childElement - The child element of the window or panel recieving the content.
childElement - The child element of the window or panel receiving the content.
method - ('get', or 'post') The way data is transmitted.
data - (hash) Data to be transmitted
title - (string) Change this if you want to change the title of the window or panel.
@@ -1891,7 +1891,7 @@ MUI.Window = new Class({
setupEvents: function() {
var windowEl = this.windowEl;
// Set events
// Note: if a button does not exist, its due to properties passed to newWindow() stating otherwice
// Note: if a button does not exist, its due to properties passed to newWindow() stating otherwise
if (this.closeButtonEl){
this.closeButtonEl.addEvent('click', function(e) {
new Event(e).stop();
@@ -3646,7 +3646,7 @@ MUI.extend({
/*
Internal Function: dynamicResize
Use with a timer to resize a window as the window's content size changes, such as with an accordian.
Use with a timer to resize a window as the window's content size changes, such as with an accordion.
*/
dynamicResize: function(windowEl){
@@ -3908,7 +3908,7 @@ MUI.files[MUI.path.source + 'Window/Arrange-cascade.js'] = 'loaded';
MUI.extend({
arrangeCascade: function(){
var viewportTopOffset = 30; // Use a negative number if neccessary to place first window where you want it
var viewportTopOffset = 30; // Use a negative number if necessary to place first window where you want it
var viewportLeftOffset = 20;
var windowTopOffset = 50; // Initial vertical spacing of each window
var windowLeftOffset = 40;
@@ -3993,7 +3993,7 @@ MUI.files[MUI.path.source + 'Window/Arrange-tile.js'] = 'loaded';
MUI.extend({
arrangeTile: function(){
var viewportTopOffset = 30; // Use a negative number if neccessary to place first window where you want it
var viewportTopOffset = 30; // Use a negative number if necessary to place first window where you want it
var viewportLeftOffset = 20;
var x = 10;