diff options
author | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 21:24:45 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-08-12 22:22:12 +0300 |
commit | acd19de6a9258056583f479b4b2faa0bec7bfb07 (patch) | |
tree | cdbecfdda0e640c55bdb82b884bb11976efe7218 /js/src/alert.js | |
parent | 8bb35313b17da1414ca3445a6c821718a4d62bc5 (diff) |
Use ES6 arrow function.
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 f39d9d9316..ea5f04ecba 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -172,7 +172,7 @@ const Alert = (($) => { $.fn[NAME] = Alert._jQueryInterface $.fn[NAME].Constructor = Alert - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Alert._jQueryInterface } |