mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 13:39:47 +02:00
Enable toolbar and tablet icons to load from local script directory
This commit is contained in:
parent
75365847a1
commit
0daa5012ca
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ Item {
|
|||
}
|
||||
|
||||
function urlHelper(src) {
|
||||
if (src.match(/\bhttp/)) {
|
||||
if (src.match(/\bhttp/) || src.match(/\bfile:/)) {
|
||||
return src;
|
||||
} else {
|
||||
return "../../../" + src;
|
||||
|
|
|
@ -34,7 +34,7 @@ StateImage {
|
|||
}
|
||||
|
||||
function urlHelper(src) {
|
||||
if (src.match(/\bhttp/)) {
|
||||
if (src.match(/\bhttp/) || src.match(/\bfile:/)) {
|
||||
return src;
|
||||
} else {
|
||||
return "../../../" + src;
|
||||
|
|
Loading…
Reference in a new issue