diff options
Diffstat (limited to 'resources/src/mediawiki/mediawiki.hidpi.js')
-rw-r--r-- | resources/src/mediawiki/mediawiki.hidpi.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/src/mediawiki/mediawiki.hidpi.js b/resources/src/mediawiki/mediawiki.hidpi.js new file mode 100644 index 00000000..ecee450c --- /dev/null +++ b/resources/src/mediawiki/mediawiki.hidpi.js @@ -0,0 +1,5 @@ +jQuery( function ( $ ) { + // Apply hidpi images on DOM-ready + // Some may have already partly preloaded at low resolution. + $( 'body' ).hidpi(); +} ); |