Enable toolbar and tablet icons to load from local script directory

This commit is contained in:
David Rowe 2017-09-30 15:00:15 +13:00
parent 75365847a1
commit 0daa5012ca
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ Item {
}
function urlHelper(src) {
if (src.match(/\bhttp/)) {
if (src.match(/\bhttp/) || src.match(/\bfile:/)) {
return src;
} else {
return "../../../" + src;

View file

@ -34,7 +34,7 @@ StateImage {
}
function urlHelper(src) {
if (src.match(/\bhttp/)) {
if (src.match(/\bhttp/) || src.match(/\bfile:/)) {
return src;
} else {
return "../../../" + src;