diff options
author | XhmikosR <xhmikosr@gmail.com> | 2017-12-16 15:00:38 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2018-01-11 19:48:46 +0300 |
commit | 80d0943b95984bfaf4997d2198d467876d294bd8 (patch) | |
tree | fa2eb4c869753b6e20c771a928da460587f38fdf /assets/js | |
parent | 6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (diff) |
Comply to the new rules.
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/src/application.js | 3 | ||||
-rw-r--r-- | assets/js/src/pwa.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/assets/js/src/application.js b/assets/js/src/application.js index d5ee22ebc3..01c9eef55b 100644 --- a/assets/js/src/application.js +++ b/assets/js/src/application.js @@ -16,7 +16,6 @@ 'use strict' $(function () { - // Tooltip and popover demos $('.tooltip-demo').tooltip({ selector: '[data-toggle="tooltip"]', @@ -60,7 +59,7 @@ $('.btn-clipboard') .tooltip() .on('mouseleave', function () { - // explicitly hide tooltip, since after clicking it remains + // Explicitly hide tooltip, since after clicking it remains // focused (as it's a button), so tooltip would otherwise // remain visible until focus is moved away $(this).tooltip('hide') diff --git a/assets/js/src/pwa.js b/assets/js/src/pwa.js index 3484f05b04..22a0dde6d7 100644 --- a/assets/js/src/pwa.js +++ b/assets/js/src/pwa.js @@ -1,6 +1,6 @@ /* eslint no-console:off */ -(function setupSW() { +(function () { 'use strict' if ('serviceWorker' in navigator) { |