summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slxbrowser.cpp2
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;