Page MenuHomeWickedGov Phorge

preventFlashFromHideIfFields.js
No OneTemporary

Size
297 B
Referenced Files
None
Subscribers
None

preventFlashFromHideIfFields.js

/**
* This is to undo the CSS styles added to hide elements which are hidden using 'hide-if'.
* This is done to avoid the elements flashing into and then out of existence on page load.
*/
module.exports = function () {
$( '.mw-htmlform-hide-if' ).addClass( 'mw-globalblocking-js-loaded' );
};

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 21:18 (1 w, 3 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a9/6b/4d7a84e3b1154cba4c7d086848f0
Default Alt Text
preventFlashFromHideIfFields.js (297 B)

Event Timeline