mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
Fixing toolbar icons
This fixes the display of the toolbar icons in demos/ve/index.php Change-Id: I53b041f8be3602f2a59d0c124dbebba83b1dfb72
This commit is contained in:
parent
0d79c2db30
commit
dc3d5be0f3
|
@ -39,9 +39,9 @@ $html = '<div>' . file_get_contents( $page ) . '</div>';
|
|||
|
||||
<script>
|
||||
if ( window.devicePixelRatio > 1 ) {
|
||||
document.write( '<link rel="stylesheet" href="../../modules/ve/ui/styles/ve.ui.Inspector.Icons-vector.css">' );
|
||||
document.write( '<link rel="stylesheet" href="../../modules/ve/ui/styles/ve.ui.ve.ui.Icons-vector.css">' );
|
||||
} else {
|
||||
document.write( '<link rel="stylesheet" href="../../modules/ve/ui/styles/ve.ui.Inspector.Icons-raster.css">' );
|
||||
document.write( '<link rel="stylesheet" href="../../modules/ve/ui/styles/ve.ui.Icons-raster.css">' );
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue