Commit d87533cd authored by webchick's avatar webchick

#667074 by Kiphaas7: Fixed Very slow / delayed fade in with overlay on Firefox.

parent 409d2969
......@@ -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
.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', '');
else {
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