Skip to content

Commit

Permalink
Fixed a regression where the iframe border was visible in IE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Moore committed Mar 25, 2011
1 parent 3b985a2 commit 49e258c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion colorbox/jquery.colorbox-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions colorbox/jquery.colorbox.js
Expand Up @@ -113,8 +113,8 @@
function $div(id, cssText) {
var div = document.createElement('div');
if (id) {
div.id = prefix + id;
}
div.id = prefix + id;
}
div.style.cssText = cssText || false;
return $(div);
}
Expand Down Expand Up @@ -608,7 +608,7 @@
}

if (isIE) {
iframe.frameborder=0;
iframe.frameBorder=0;
iframe.allowTransparency = "true";
}

Expand All @@ -624,7 +624,7 @@
$box[0].style.filter = "";
});
} else {
$box[0].style.filter = "";
$box[0].style.filter = "";
}

$window.bind('resize.' + prefix, function () {
Expand Down

0 comments on commit 49e258c

Please sign in to comment.