From d968538ded11fdc4f91c3729b1ade6966a3d3739 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Tue, 3 Apr 2007 17:06:21 +0000 Subject: [PATCH] Select All link for khtml git-svn-id: file:///svn/phpbb/trunk@7276 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/styles/prosilver/template/forum_fn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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