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:
Diffstat (limited to 'js/dist/util.js')
-rw-r--r--js/dist/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/util.js b/js/dist/util.js
index 934bad697a..7abc5a6063 100644
--- a/js/dist/util.js
+++ b/js/dist/util.js
@@ -101,7 +101,7 @@ var Util = (function ($) {
getUID: function getUID(prefix) {
do {
- prefix += ~ ~(Math.random() * 1000000);
+ prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
} while (document.getElementById(prefix));
return prefix;
},