summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngie Byron2009-12-25 10:15:23 (GMT)
committerAngie Byron2009-12-25 10:15:23 (GMT)
commitd87533cdc7890c1fc5e72cd816eb5c94d87a1e13 (patch)
tree6b0565f51a5008af74b7df9eac0702c49ff78b13
parent409d2969b54c866f116aa9fd7f1bae4c63ab07c6 (diff)
#667074 by Kiphaas7: Fixed Very slow / delayed fade in with overlay on Firefox.
-rw-r--r--modules/overlay/overlay-parent.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js
index 65de9b7..5265402 100644
--- a/modules/overlay/overlay-parent.js
+++ b/modules/overlay/overlay-parent.js
@@ -318,14 +318,15 @@ Drupal.overlay.load = function (url) {
// dialog. The loaded class is not removed and added back again while
// switching between pages with the overlay already open, due to
// performance issues (see http://drupal.org/node/615130).
+ self.$dialog.removeClass('overlay-loaded');
self.$iframe
- .css('opacity', 0.2)
+ .css('visibility', 'hidden')
.load(function () {
self.isLoading = false;
// Only continue when overlay is still open and not closing.
if (self.isOpen && !self.isClosing) {
- self.$iframe.css('opacity', 1);
+ self.$iframe.css('visibility', '');
self.$dialog.addClass('overlay-loaded');
}
else {