mw.ViewPageTarget: Hide ve-ce-surface during deactivation

While showing the content earlier as soon as possible is nice, the ve-ce-surface
remained visible until toolbar and surface were torn down.

This avoids the split second where the new pageview content *and*
CE surface were visible in the page (this it also messed with the scroll position,
and would temporarily cause a scrollbar to appear).

Bug: T91442
Change-Id: I0a7232cd0264bff28ad66aa328de29d339891aa1
This commit is contained in:
Timo Tijhof 2015-03-10 02:42:44 +01:00
parent 581a6a40fa
commit 77f016ae8f

View file

@ -25,7 +25,8 @@
.ve-activated #t-print,
.ve-activated #t-permalink,
.ve-activated #p-coll-print_export,
.ve-activated #t-cite {
.ve-activated #t-cite,
.ve-deactivating .ve-ce-surface {
display: none;
}