From 124d37b93ea4302dc7bbdb5481c37ae2a70380ab Mon Sep 17 00:00:00 2001 From: Alex Winkler Date: Mon, 16 Dec 2024 09:46:54 +0100 Subject: [PATCH] fix: Load scripts from current skin for WC3 creep spots (#5208) Load scripts from current skin for WC3 creep spots --- javascript/commons/Miscellaneous.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/commons/Miscellaneous.js b/javascript/commons/Miscellaneous.js index ccf92790399..9876a50401e 100644 --- a/javascript/commons/Miscellaneous.js +++ b/javascript/commons/Miscellaneous.js @@ -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 = {