patch foundation-6.2.3 to work with jquery-3.1
This commit is contained in:
4
library/foundation/js/foundation.js
vendored
4
library/foundation/js/foundation.js
vendored
@@ -1585,7 +1585,7 @@
|
||||
* @function
|
||||
* @private
|
||||
*/
|
||||
$(window).load(function () {
|
||||
$(window).on('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).load(function () {
|
||||
this.$element.attr('src', path).on('load', function () {
|
||||
_this.currentPath = path;
|
||||
}).trigger(trigger);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user