diff --git a/core/misc/ajax.js b/core/misc/ajax.js index dc3fe34eb5dc8825c29cc8df834a5baca8f5ba28..705d592e2d99b225499d96c707969a9ba9d7273c 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -573,7 +573,7 @@ var settings; // We don't know what response.data contains: it might be a string of text - // without HTML, so don't rely on jQuery correctly iterpreting + // without HTML, so don't rely on jQuery correctly interpreting // $(response.data) as new HTML rather than a CSS selector. Also, if // response.data contains top-level text nodes, they get lost with either // $(response.data) or $('<div></div>').replaceWith(response.data). diff --git a/core/misc/autocomplete.js b/core/misc/autocomplete.js index 27369c0295e914379d6f1e4fbd29b80a2308c564..af6452131406ae617ff7f0a9bda89dc6e1d3eb26 100644 --- a/core/misc/autocomplete.js +++ b/core/misc/autocomplete.js @@ -12,7 +12,7 @@ * @return {Array} */ function autocompleteSplitValues(value) { - // We will match the value against comma-seperated terms. + // We will match the value against comma-separated terms. var result = []; var quote = false; var current = ''; diff --git a/core/misc/displace.js b/core/misc/displace.js index bd52489cb61cad4475e00465bec681038762c748..ce99181b87f6e58e5002e8c4e807727ca7634c07 100644 --- a/core/misc/displace.js +++ b/core/misc/displace.js @@ -87,7 +87,7 @@ var displacingElements = document.querySelectorAll('[data-offset-' + edge + ']'); for (var i = 0, n = displacingElements.length; i < n; i++) { var el = displacingElements[i]; - // If the element is not visble, do consider its dimensions. + // If the element is not visible, do consider its dimensions. if (el.style.display === 'none') { continue; } @@ -135,12 +135,12 @@ // Left and top elements displace as a sum of their own offset value // plus their size. case 'top': - // Total displacment is the sum of the elements placement and size. + // Total displacement is the sum of the elements placement and size. displacement = placement + $el.outerHeight(); break; case 'left': - // Total displacment is the sum of the elements placement and size. + // Total displacement is the sum of the elements placement and size. displacement = placement + $el.outerWidth(); break; diff --git a/core/misc/states.js b/core/misc/states.js index f5417ac87303504d2c53abb7cd3dfebdb1bcf318..b90015c9cb42b6b6f65efa6227a6c5e7ddd5928b 100644 --- a/core/misc/states.js +++ b/core/misc/states.js @@ -176,7 +176,7 @@ * Triggers change events in case a state changed. */ reevaluate: function () { - // Check whether any constraint for this dependent state is satisifed. + // Check whether any constraint for this dependent state is satisfied. var value = this.verifyConstraints(this.constraints); // Only invoke a state change event when the value actually changed. diff --git a/core/misc/tabbingmanager.js b/core/misc/tabbingmanager.js index 9382d42268d6469151ae037bb5b1a46c946a345b..b80f2a3c8f9e7318d88f575d5be18a72683595f3 100644 --- a/core/misc/tabbingmanager.js +++ b/core/misc/tabbingmanager.js @@ -93,7 +93,7 @@ /** * Makes all elements outside the of the tabbingContext's set untabbable. * - * Elements made untabble have their original tabindex and autfocus values + * Elements made untabbable have their original tabindex and autofocus values * stored so that they might be restored later when this tabbingContext * is deactivated. * @@ -133,7 +133,7 @@ /** * Restores that tabbable state of a tabbingContext's disabled elements. * - * Elements that were made untabble have their original tabindex and autfocus + * Elements that were made untabbable have their original tabindex and autofocus * values restored. * * @param TabbingContext tabbingContext diff --git a/core/misc/tableresponsive.js b/core/misc/tableresponsive.js index 33e7b8e8652f0e5fec335b5c24e3162874f4580c..1bf6d072a914f41abbc1da4938d71d41647e7322 100644 --- a/core/misc/tableresponsive.js +++ b/core/misc/tableresponsive.js @@ -71,7 +71,7 @@ } // When the toggle is pegged, its presence is maintained because the user // has interacted with it. This is necessary to keep the link visible if the - // user adjusts screen size and changes the visibilty of columns. + // user adjusts screen size and changes the visibility of columns. if (!pegged && hiddenLength === 0) { this.$link.hide().text(this.hideText); }