Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2017-12-16 15:00:38 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-01-11 19:48:46 +0300
commit80d0943b95984bfaf4997d2198d467876d294bd8 (patch)
treefa2eb4c869753b6e20c771a928da460587f38fdf /assets
parent6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (diff)
Comply to the new rules.
Diffstat (limited to 'assets')
-rw-r--r--assets/js/src/application.js3
-rw-r--r--assets/js/src/pwa.js2
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) {