From 2a55baaef771d851e8d385190d8a93f9abd2d304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Wed, 29 Oct 2014 21:52:38 +0100 Subject: [PATCH] Hide page status indicators even if they aren't :visible The container is zero-height and zero-width, so jQuery doesn't consider it :visible, and yet it still takes up visual space. Bug: 72693 Change-Id: I3bed5394a2a64a9f7f0a331f850aa412b5b11b7d --- modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index ca10ef4084..49321d2227 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -1420,7 +1420,7 @@ ve.init.mw.ViewPageTarget.prototype.transformPage = function () { .addClass( 've-hide' ) .slideUp( 'fast' ); // Hide page status indicators (if present) - $( '.mw-indicators:visible' ) + $( '.mw-indicators' ) .addClass( 've-hide' ) .fadeOut( 'fast' );