diff options
author | obscuren <geffobscura@gmail.com> | 2015-02-15 00:18:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-02-15 00:18:28 +0800 |
commit | c29b01ce75c1feacf13e57b906ce0613168cd895 (patch) | |
tree | 28d349c7b88cd1e0a6f869f9a2a906d65f988d86 | |
parent | befb4bc1c102a62eaad9b4980e54cd4067078c2a (diff) | |
download | go-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.gz go-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.zst go-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.zip |
Reset URL bar
-rw-r--r-- | cmd/mist/assets/qml/views/browser.qml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cmd/mist/assets/qml/views/browser.qml b/cmd/mist/assets/qml/views/browser.qml index ac160e2b1..2685f902b 100644 --- a/cmd/mist/assets/qml/views/browser.qml +++ b/cmd/mist/assets/qml/views/browser.qml @@ -352,7 +352,15 @@ Rectangle { }); webView.runJavaScript("try{document.querySelector(\"meta[name='ethereum-dapp-url-bar-style']\").getAttribute(\"content\")}catch(e){}", function(topBarStyle){ - if (!topBarStyle) return; + if (!topBarStyle) { + showFullUrlBar(true); + navBarBackground.visible = true; + back.visible = true; + appInfoPane.anchors.leftMargin = 0; + appInfoPaneShadow.anchors.leftMargin = 0; + webview.anchors.topMargin = 0; + return; + } if (topBarStyle=="transparent") { // Adjust for a transparent sidebar Dapp |