diff options
author | Simon Rettberg | 2020-11-09 12:15:42 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-11-09 12:15:42 +0100 |
commit | f3d08514f27e3371387449e2ed064165da3cbee4 (patch) | |
tree | 037f0dca1db376100782cd7e681939a98f2e817a | |
parent | Allow blacklist and whitelist at the same time. (diff) | |
download | slxbrowser-f3d08514f27e3371387449e2ed064165da3cbee4.tar.gz slxbrowser-f3d08514f27e3371387449e2ed064165da3cbee4.tar.xz slxbrowser-f3d08514f27e3371387449e2ed064165da3cbee4.zip |
-rw-r--r-- | src/slxbrowser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slxbrowser.cpp b/src/slxbrowser.cpp index 8cc8749..9ea279e 100644 --- a/src/slxbrowser.cpp +++ b/src/slxbrowser.cpp @@ -126,7 +126,7 @@ void SlxBrowser::loadFinished(bool ok) } else { _browser->page()->mainFrame()->setHtml("<html><body style='background:blue;color:white'><br><br>" "<center><h1>Page Load Error</h1><pre id='content'></pre><br>" - "<p><a href='#' onclick='javascript:window.history.back()'>Back</a></p>" + "<p><a href='#' onclick='window.history.back()'>Back</a></p>" "</center></body></html>"); QWebElement el = _browser->page()->mainFrame()->documentElement().findFirst("#content"); QString str; |