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/collapse.js | |
parent | 8bb35313b17da1414ca3445a6c821718a4d62bc5 (diff) |
Use ES6 arrow function.
Diffstat (limited to 'js/src/collapse.js')
-rw-r--r-- | js/src/collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/collapse.js b/js/src/collapse.js index 9277420a2f..d3404630a4 100644 --- a/js/src/collapse.js +++ b/js/src/collapse.js @@ -387,7 +387,7 @@ const Collapse = (($) => { $.fn[NAME] = Collapse._jQueryInterface $.fn[NAME].Constructor = Collapse - $.fn[NAME].noConflict = function () { + $.fn[NAME].noConflict = () => { $.fn[NAME] = JQUERY_NO_CONFLICT return Collapse._jQueryInterface } |