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