Commit 361964b4 authored by alexpott's avatar alexpott

Issue #1684862 by droplet, frega, nod_, sxnc: JSHint overlay.

parent f01622ce
......@@ -142,7 +142,7 @@ Drupal.overlayChild.behaviors.loading = function (context, settings) {
$(document).bind('drupalOverlayBeforeLoad.drupal-overlay.drupal-overlay-child-loading', function () {
$title = $('#overlay-title').text(text);
var id = setInterval(function () {
setInterval(function () {
dots = (dots.length > 10) ? '' : dots + '.';
$title.text(text + dots);
}, 500);
......
......@@ -470,7 +470,6 @@ Drupal.overlay.eventhandlerAlterDisplacedElements = function (event) {
});
// Trigger a repaint.
iframeBody.style.display = 'none';
var _tmp = iframeBody.offsetHeight;
iframeBody.style.display = 'block';
// Constrain the width of offsetting top and bottom elements, such as the
......@@ -767,7 +766,7 @@ function refreshRegion(regionName, regionSelector) {
* corresponding to this region.
*/
Drupal.overlay.refreshRegions = function (data) {
var region, region_info, regionClass, regionName, regionSelector;
var region, region_info, regionClass;
for (region in data) {
if (data.hasOwnProperty(region)) {
region_info = data[region];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment