Skip to content

Commit

Permalink
Use wgExtensionAssetsPath instead of wgScriptPath
Browse files Browse the repository at this point in the history
  • Loading branch information
Universal-Omega committed May 11, 2024
1 parent 3dd07ac commit 361b680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/PortableInfoboxBuilderNodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@
a.className = 'image image-thumbnail';
a.appendChild( img );
img.className = 'pi-image-thumbnail';
img.src = mw.config.get( 'wgScriptPath' ) + '/resources/assets/mediawiki.png';
img.src = mw.config.get( 'wgExtensionAssetsPath' ) + '/../resources/assets/mediawiki.png';
this.element.appendChild( a );

return this.element;
Expand Down

0 comments on commit 361b680

Please sign in to comment.