aboutsummaryrefslogtreecommitdiffstats
path: root/library/foundation/js/foundation.js
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-08 13:26:19 -0700
committerredmatrix <mike@macgirvin.com>2016-09-08 13:26:19 -0700
commitd63cfb41f1a90d1f32cde4bd84cd19d8b1f64049 (patch)
treeda3e57bcc8d87fe2dac4c25f8debf232b5b9d64b /library/foundation/js/foundation.js
parent9cfd0dd9d875f3951c10a6a260715c2bc835fbc6 (diff)
parent1e8fec93855755aa2a9103b6dab4d0751875b0d5 (diff)
downloadvolse-hubzilla-d63cfb41f1a90d1f32cde4bd84cd19d8b1f64049.tar.gz
volse-hubzilla-d63cfb41f1a90d1f32cde4bd84cd19d8b1f64049.tar.bz2
volse-hubzilla-d63cfb41f1a90d1f32cde4bd84cd19d8b1f64049.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'library/foundation/js/foundation.js')
-rw-r--r--library/foundation/js/foundation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/foundation/js/foundation.js b/library/foundation/js/foundation.js
index 63b04ace2..8570bdd16 100644
--- a/library/foundation/js/foundation.js
+++ b/library/foundation/js/foundation.js
@@ -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);
}