mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:25:55 +00:00
misc typo fixes
This commit is contained in:
@@ -131,7 +131,7 @@ dojo.declare( "lib.CheckBoxStoreModel", dijit.tree.TreeStoreModel,
|
||||
currState = this.checkboxState;
|
||||
}
|
||||
|
||||
return currState // the current state of the checkbox (true/false or undefined)
|
||||
return currState; // the current state of the checkbox (true/false or undefined)
|
||||
},
|
||||
|
||||
_setCheckboxState: function(/*dojo.data.Item*/ storeItem, /*Boolean*/ newState ) {
|
||||
@@ -277,7 +277,7 @@ dojo.declare( "lib.CheckBoxStoreModel", dijit.tree.TreeStoreModel,
|
||||
parents.push(this.root);
|
||||
}
|
||||
}
|
||||
return parents // parent(s) of a dojo.data.item (Array of dojo.data.items)
|
||||
return parents; // parent(s) of a dojo.data.item (Array of dojo.data.items)
|
||||
},
|
||||
|
||||
validateData: function(/*dojo.data.Item*/ storeItem, /*thisObject*/ scope ) {
|
||||
|
||||
@@ -4,8 +4,8 @@ Position.GetWindowSize = function(w) {
|
||||
w = w ? w : window;
|
||||
var width = w.innerWidth || (w.document.documentElement.clientWidth || w.document.body.clientWidth);
|
||||
var height = w.innerHeight || (w.document.documentElement.clientHeight || w.document.body.clientHeight);
|
||||
return [width, height]
|
||||
}
|
||||
return [width, height];
|
||||
};
|
||||
|
||||
/* http://textsnippets.com/posts/show/836 */
|
||||
|
||||
@@ -25,7 +25,7 @@ Position.Center = function(element, parent) {
|
||||
}
|
||||
element.style.top = (ph/2) - (h/2) - Position.deltaY + "px";
|
||||
element.style.left = (pw/2) - (w/2) - Position.deltaX + "px";
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user