From: Corrine Olson Date: Fri, 22 Jul 2016 12:52:44 +0000 (-0400) Subject: Undo dist file changes from building X-Git-Tag: v6.2.4-rc1~54^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=175eff136eef7738c20caacd97317fb1fcd54aac;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Undo dist file changes from building --- diff --git a/dist/foundation.js b/dist/foundation.js index 90f5d835e..63b04ace2 100644 --- a/dist/foundation.js +++ b/dist/foundation.js @@ -1585,7 +1585,7 @@ * @function * @private */ - $(window).on('load', function () { + $(window).load(function () { checkListeners(); }); @@ -4766,7 +4766,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Replacing images if (this.$element[0].nodeName === 'IMG') { - this.$element.attr('src', path).on('load', function () { + this.$element.attr('src', path).load(function () { _this.currentPath = path; }).trigger(trigger); } @@ -9067,4 +9067,3 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Window exports Foundation.plugin(Tooltip, 'Tooltip'); }(jQuery); - diff --git a/dist/plugins/foundation.interchange.js b/dist/plugins/foundation.interchange.js index 7885b37ce..7531ccde5 100644 --- a/dist/plugins/foundation.interchange.js +++ b/dist/plugins/foundation.interchange.js @@ -164,7 +164,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Replacing images if (this.$element[0].nodeName === 'IMG') { - this.$element.attr('src', path).on('load', function () { + this.$element.attr('src', path).load(function () { _this.currentPath = path; }).trigger(trigger); } @@ -224,4 +224,4 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons // Window exports Foundation.plugin(Interchange, 'Interchange'); -}(jQuery); +}(jQuery); \ No newline at end of file diff --git a/dist/plugins/foundation.util.triggers.js b/dist/plugins/foundation.util.triggers.js index 47b72750d..17eb7cbc3 100644 --- a/dist/plugins/foundation.util.triggers.js +++ b/dist/plugins/foundation.util.triggers.js @@ -62,7 +62,7 @@ * @function * @private */ - $(window).on('load', function () { + $(window).load(function () { checkListeners(); }); @@ -240,4 +240,4 @@ // }, debounce || 150); // } // } -// } +// } \ No newline at end of file