36ec8813e9593e04039e5f124261faf3b119c61b tdreszer Mon Jan 27 17:03:36 2014 -0800 Galt requested this in-comment typo be fixed in code-review (redmine #12571). No functional change here. diff --git src/hg/js/utils.js src/hg/js/utils.js index a8f1eee..a41f93a 100644 --- src/hg/js/utils.js +++ src/hg/js/utils.js @@ -1087,31 +1087,31 @@ // Both interatingFunc and continuingFunc will receive the single "args" param. // Hint. for multiple args, create a single struct object var ro = new _yieldingIteratorObject(function() { var msecs = interatingFunc(args); if (msecs > 0) ro.step(msecs,args); // recursion else if (msecs == 0) continuingFunc(args); // completion // else (msec < 0) // abandon }); ro.step(1,args); // kick-off } function showLoadingImage(id) -// Show a loading image above the given id; return's id of div added (alowwing later removal). +// Show a loading image above the given id; return's id of div added (allowing later removal). { var loadingId = id + "LoadingOverlay"; var overlay = $("
"); var ele = $(document.getElementById(id)); overlay.appendTo("body"); var divLeft = ele.position().left + 2; var width = ele.width() - 1; var height = ele.height(); overlay.width(width); overlay.height(height); overlay.css({top: (ele.position().top + 1) + 'px', left: divLeft + 'px'}); return loadingId; } function hideLoadingImage(id)