1
0
Fork 0

Use new browser map location in menubar

This commit is contained in:
Torsten Dreyer 2015-04-18 13:25:37 +02:00
parent 290c699403
commit 2bf8bed453

View file

@ -357,7 +357,7 @@
if( props.globals.getNode("/").getValue("sim/http/running",0) != 1 ) {
gui.popupTip("Internal webserver not running. Restart FlightGear with -httpd=8080", 5.0);
} 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 }));
}
</script>