mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Hide some tools when VE is open
Bug: 57940 Change-Id: I2f586e8c73affe1b7f14c40ba892774e784f09c8
This commit is contained in:
parent
fe04b902fb
commit
df38c8b55e
|
@ -1235,6 +1235,7 @@ ve.init.mw.ViewPageTarget.prototype.showPageContent = function () {
|
|||
.removeClass( 've-init-mw-viewPageTarget-content' )
|
||||
.show()
|
||||
.fadeTo( 0, 1 );
|
||||
$( '#t-print, #t-permalink, #p-coll-print_export, #t-cite' ).show();
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1257,6 +1258,7 @@ ve.init.mw.ViewPageTarget.prototype.hidePageContent = function () {
|
|||
$( '#bodyContent > :visible:not(#siteSub,.ve-ui-mwTocWidget)' )
|
||||
.addClass( 've-init-mw-viewPageTarget-content' )
|
||||
.hide();
|
||||
$( '#t-print, #t-permalink, #p-coll-print_export, #t-cite' ).hide();
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue