]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Undo dist file changes from building 8923/head
authorCorrine Olson <corrine.olson@careerbuilder.com>
Fri, 22 Jul 2016 12:52:44 +0000 (08:52 -0400)
committerCorrine Olson <corrine.olson@careerbuilder.com>
Fri, 22 Jul 2016 12:52:44 +0000 (08:52 -0400)
dist/foundation.js
dist/plugins/foundation.interchange.js
dist/plugins/foundation.util.triggers.js

index 90f5d835ea6c7521e8e355bbddf6ceab5e3f6b18..63b04ace2d90d27642897d06554070c0ba185cf3 100644 (file)
   * @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);
index 7885b37ce4d97e751dfba7821597efb8b1eba5a9..7531ccde542917363c54090a772f360416e807db 100644 (file)
@@ -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
index 47b72750d762a0227530d1badaac03fe36ea2d51..17eb7cbc3cf32094e10d37258dc40a825627619a 100644 (file)
@@ -62,7 +62,7 @@
   * @function
   * @private
   */
-  $(window).on('load', function () {
+  $(window).load(function () {
     checkListeners();
   });
 
 //       }, debounce || 150);
 //     }
 //   }
-// }
+// }
\ No newline at end of file