Skip to content

Commit

Permalink
fix: Load scripts from current skin for WC3 creep spots (#5208)
Browse files Browse the repository at this point in the history
Load scripts from current skin for WC3 creep spots
  • Loading branch information
FO-nTTaX authored Dec 16, 2024
1 parent f23dc1c commit 124d37b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/commons/Miscellaneous.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ liquipedia.core.modules.push( 'talenttemplate' );
liquipedia.creepspot = {
init: function() {
if ( document.querySelector( '.creep-spot' ) !== null ) {
mw.loader.using( 'skins.bruinen.scripts' ).then( () => {
mw.loader.using( 'skins.' + mw.config.get( 'skin' ) + '.scripts' ).then( () => {
document.querySelectorAll( '.creep-spot' ).forEach( ( cs ) => {
const $this = $( cs );
const options = {
Expand Down

0 comments on commit 124d37b

Please sign in to comment.