aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/styles/prosilver')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js
index 8c619b8f81..e9754aeae2 100644
--- a/phpBB/styles/prosilver/template/forum_fn.js
+++ b/phpBB/styles/prosilver/template/forum_fn.js
@@ -190,7 +190,7 @@ function selectCode(a)
// Safari
if (s.setBaseAndExtent)
{
- s.setBaseAndExtent(e, 0, e, 1);
+ s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
}
// Firefox and Opera
else