aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist/assets
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-15 00:18:28 +0800
committerobscuren <geffobscura@gmail.com>2015-02-15 00:18:28 +0800
commitc29b01ce75c1feacf13e57b906ce0613168cd895 (patch)
tree28d349c7b88cd1e0a6f869f9a2a906d65f988d86 /cmd/mist/assets
parentbefb4bc1c102a62eaad9b4980e54cd4067078c2a (diff)
downloadgo-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.gz
go-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.zst
go-tangerine-c29b01ce75c1feacf13e57b906ce0613168cd895.zip
Reset URL bar
Diffstat (limited to 'cmd/mist/assets')
-rw-r--r--cmd/mist/assets/qml/views/browser.qml10
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