aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/mist
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
parentbefb4bc1c102a62eaad9b4980e54cd4067078c2a (diff)
downloaddexon-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.gz
dexon-c29b01ce75c1feacf13e57b906ce0613168cd895.tar.zst
dexon-c29b01ce75c1feacf13e57b906ce0613168cd895.zip
Reset URL bar
Diffstat (limited to 'cmd/mist')
-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
TREVISION to chase the glib20 shared library update.marcus2005-11-051-1/+1 * - Change my e-mailaz2005-10-031-1/+1 * - Fix fetching problem [1]novel2005-09-261-3/+1 * - update to 3.2.1novel2005-04-202-5/+5 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Bump PORTREVISION to chase the glib20 shared lib version change.marcus2005-03-12