Clear the cursor hiding class when attaching the lightbox

This ensures that if fullscreen was exited with the cursor hidden
reopening the lightbox should happen with a visible cursor

Change-Id: I33846234fd4c314ff9ff924e9f42d4e8c5c5bd8d
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/288
This commit is contained in:
Gilles Dubuc 2014-03-19 16:01:30 +01:00
parent 9cc429506e
commit 49bc5edd93

View file

@ -189,6 +189,9 @@
// This needs to happen after the parent attach() because the buttons need to be attached // This needs to happen after the parent attach() because the buttons need to be attached
// to the DOM for $.fn.stop() to work // to the DOM for $.fn.stop() to work
this.buttons.stopFade(); this.buttons.stopFade();
// Reset the cursor fading
this.fadeStopped();
}; };
/** /**