Index: trunk/extensions/ProofreadPage/proofread_index.js |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | function proofreadpage_index_init() { |
16 | 16 | |
17 | 17 | var toolbar = document.getElementById("toolbar"); |
18 | | - toolbar.parentNode.removeChild(toolbar); |
| 18 | + if(toolbar) toolbar.parentNode.removeChild(toolbar); |
19 | 19 | |
20 | 20 | var text = document.getElementById("wpTextbox1"); |
21 | 21 | if(!text) return; |