Update JavaScript port
This commit is contained in:
parent
c49e0e7204
commit
586f792c24
@ -149,7 +149,7 @@
|
||||
function get_iframe_url() {
|
||||
/* Assemble the URL */
|
||||
var newPathname = window.location.href.substr(0, window.location.href.lastIndexOf('/'));
|
||||
newPathname += "/lvgl.html" + (window.location.href.indexOf('?') ? '&' : '?') + "env=dev";
|
||||
newPathname += "/lvgl.html" + (window.location.href.indexOf('?') != -1 ? '&' : '?') + "env=dev";
|
||||
console.log(newPathname);
|
||||
return newPathname;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user