From 18ff57a183ac141f70164be481ef703729bcdf0d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Tue, 18 Aug 2015 19:22:46 -0700 Subject: js tests passing + eslint --- js/dist/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/dist') 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; }, -- cgit v1.2.3