From: Tim Starling Date: Mon, 7 Dec 2009 21:45:21 +0000 (+0000) Subject: Revert debugging code accidentally left in from r59780 X-Git-Tag: 1.31.0-rc.0~38601 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=ee8ec5ac34d86a285230f17ff01e9ed286ac356a;p=lhc%2Fweb%2Fwiklou.git Revert debugging code accidentally left in from r59780 --- diff --git a/skins/common/edit.js b/skins/common/edit.js index d7c9bdd943..17bf113785 100644 --- a/skins/common/edit.js +++ b/skins/common/edit.js @@ -46,9 +46,7 @@ function mwSetupToolbar() { // Don't generate buttons for browsers which don't fully // support it. - var textbox = document.getElementById('wpTextbox1'); - if (!textbox) { return false; } - //var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there + var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there if (!(document.selection && document.selection.createRange) && textbox.selectionStart === null) { return false;