Use new browser map location in menubar
This commit is contained in:
parent
290c699403
commit
2bf8bed453
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@
|
||||||
if( props.globals.getNode("/").getValue("sim/http/running",0) != 1 ) {
|
if( props.globals.getNode("/").getValue("sim/http/running",0) != 1 ) {
|
||||||
gui.popupTip("Internal webserver not running. Restart FlightGear with -httpd=8080", 5.0);
|
gui.popupTip("Internal webserver not running. Restart FlightGear with -httpd=8080", 5.0);
|
||||||
} else {
|
} else {
|
||||||
var _url = "http://localhost:" ~ getprop("/sim/http/options/listening-port") ~ "/gui/map/";
|
var _url = "http://localhost:" ~ getprop("/sim/http/options/listening-port") ~ "/map/";
|
||||||
fgcommand("open-browser", props.Node.new({ "url": _url }));
|
fgcommand("open-browser", props.Node.new({ "url": _url }));
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue