diff options
Diffstat (limited to 'assets/javascripts/bootstrap/util.js')
-rw-r--r-- | assets/javascripts/bootstrap/util.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/javascripts/bootstrap/util.js b/assets/javascripts/bootstrap/util.js index a307e80..c8da76b 100644 --- a/assets/javascripts/bootstrap/util.js +++ b/assets/javascripts/bootstrap/util.js @@ -101,7 +101,9 @@ var Util = (function ($) { getUID: function getUID(prefix) { do { + /* eslint-disable no-bitwise */ prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here + /* eslint-enable no-bitwise */ } while (document.getElementById(prefix)); return prefix; }, |