diff options
author | Bardi Harborow <bardi@bardiharborow.com> | 2016-11-01 06:32:36 +0300 |
---|---|---|
committer | Mark Otto <markd.otto@gmail.com> | 2016-11-01 06:32:36 +0300 |
commit | 0974267b8c2b137d563d36c2390b4491fb1e0309 (patch) | |
tree | 23cab8912a5860d76720b29d062cd53aa7958568 /js/src/alert.js | |
parent | d6cc0e017dcb205f417b4f74ffd8ec5762b44bf2 (diff) |
Move from $.proxy to es6 arrow functions. (#21049)
Diffstat (limited to 'js/src/alert.js')
-rw-r--r-- | js/src/alert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index 0456c677df..27411e276c 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -117,7 +117,7 @@ const Alert = (($) => { } $(element) - .one(Util.TRANSITION_END, $.proxy(this._destroyElement, this, element)) + .one(Util.TRANSITION_END, (event) => this._destroyElement(element, event)) .emulateTransitionEnd(TRANSITION_DURATION) } |