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
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2018-11-14 12:16:56 +0300
committerJohann-S <johann.servoire@gmail.com>2018-11-14 12:54:50 +0300
commit9201a805101943f9ec088639d520d7d2874bbed1 (patch)
treeb103dea4a9d52bac3bb849c6c14277f4000a1f9c /js/src/modal.js
parentfab1dea92773e796a75ac4a2fadb645714ac80ce (diff)
some cleaning and changes for readability
Diffstat (limited to 'js/src/modal.js')
-rw-r--r--js/src/modal.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/src/modal.js b/js/src/modal.js
index 0004fe8bbe..74a16d4611 100644
--- a/js/src/modal.js
+++ b/js/src/modal.js
@@ -1,6 +1,3 @@
-import $ from 'jquery'
-import Util from './util'
-
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.1.3): modal.js
@@ -8,6 +5,9 @@ import Util from './util'
* --------------------------------------------------------------------------
*/
+import $ from 'jquery'
+import Util from './util'
+
/**
* ------------------------------------------------------------------------
* Constants
@@ -59,11 +59,11 @@ const ClassName = {
}
const Selector = {
- DIALOG : '.modal-dialog',
- DATA_TOGGLE : '[data-toggle="modal"]',
- DATA_DISMISS : '[data-dismiss="modal"]',
- FIXED_CONTENT : '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
- STICKY_CONTENT : '.sticky-top'
+ DIALOG : '.modal-dialog',
+ DATA_TOGGLE : '[data-toggle="modal"]',
+ DATA_DISMISS : '[data-dismiss="modal"]',
+ FIXED_CONTENT : '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top',
+ STICKY_CONTENT : '.sticky-top'
}
/**