summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 91b462089..726bccd19 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -613,8 +613,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
//Display error on browsers other than IE
$link['more'] = 'onclick="if(document.all == null){alert(\''.
str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])).
- '\');}" onkeypress="if(document.all == null){alert(\''.
- str_replace('\\\\n','\\n',addslashes($lang['nosmblinks'])).'\');}"';
+ '\');}"';
$link['name'] = $this->_getLinkTitle($name, $url, $isImage);
if ( !$isImage ) {