aboutsummaryrefslogtreecommitdiff
path: root/js/dist/util.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-18 20:25:48 -0700
committerMark Otto <[email protected]>2015-08-18 20:25:48 -0700
commit1c19ded8c14cc9caca8ca2992834e2900dbbb4e5 (patch)
treeaecfad1ba54e89b6db1f72f20c991784768399e5 /js/dist/util.js
parent0df8fae72508fd9291ccce1fb915e7eac4f83a95 (diff)
parent8cfde5ef29756a433645c61b2ba8fec63caada78 (diff)
downloadbootstrap-1c19ded8c14cc9caca8ca2992834e2900dbbb4e5.tar.xz
bootstrap-1c19ded8c14cc9caca8ca2992834e2900dbbb4e5.zip
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Diffstat (limited to 'js/dist/util.js')
-rw-r--r--js/dist/util.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/dist/util.js b/js/dist/util.js
index 56296252b..a2ae5f299 100644
--- a/js/dist/util.js
+++ b/js/dist/util.js
@@ -1,3 +1,4 @@
+
/**
* --------------------------------------------------------------------------
* Bootstrap (v4.0.0): util.js
@@ -100,7 +101,7 @@ var Util = (function ($) {
TRANSITION_END: 'bsTransitionEnd',
getUID: function getUID(prefix) {
- do prefix += ~ ~(Math.random() * 1000000); while (document.getElementById(prefix));
+ do { prefix += ~ ~(Math.random() * 1000000); } while (document.getElementById(prefix));
return prefix;
},