Skip to content
This repository was archived by the owner on Apr 16, 2025. It is now read-only.

Commit e8f5fa6

Browse files
committed
fix: blip icons not working on other servers
When selecting another server, the URL for the blip icons would change to `/server?test+server/images/icons` which, is wrong.
1 parent 9b546c5 commit e8f5fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/markers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ var types = {
222222
var nameToId = {};
223223

224224
var blipCss = `.blip {
225-
background: url("${_MAP_currentUri}${_MAP_iconURL}blips_texturesheet.png");
225+
background: url("${_MAP_iconURL}blips_texturesheet.png");
226226
background-size: ${1024/2}px ${1024/2}px;
227227
display: inline-block;
228228
width: ${customImageWidth}px;
@@ -237,7 +237,7 @@ function generateBlipControls(){
237237
console.log("Added ahref for " + blipName);
238238
}
239239
}
240-
240+
241241
// Events
242242
$(".blip-button-a").on("click", function(e){
243243
var ele = $(e.currentTarget);

0 commit comments

Comments
 (0)