From 34a0ce571e4d21c70affb870844edd94fa7b78a0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 5 Dec 2015 09:15:18 +0200 Subject: Run `grunt`. [ci skip] --- js/dist/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/dist/util.js') diff --git a/js/dist/util.js b/js/dist/util.js index 934bad697..7abc5a606 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; }, -- cgit v1.2.3