Index: trunk/phase3/skins/common/edit.js |
— | — | @@ -46,9 +46,7 @@ |
47 | 47 | |
48 | 48 | // Don't generate buttons for browsers which don't fully |
49 | 49 | // support it. |
50 | | - var textbox = document.getElementById('wpTextbox1'); |
51 | | - if (!textbox) { return false; } |
52 | | - //var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there |
| 50 | + var textbox = document.createElement('textarea'); // abstract, don't assume wpTextbox1 is always there |
53 | 51 | if (!(document.selection && document.selection.createRange) |
54 | 52 | && textbox.selectionStart === null) { |
55 | 53 | return false; |