From ee8ec5ac34d86a285230f17ff01e9ed286ac356a Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 7 Dec 2009 21:45:21 +0000 Subject: [PATCH] Revert debugging code accidentally left in from r59780 --- skins/common/edit.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.20.1