r60180 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60179‎ | r60180 | r60181 >
Date:21:45, 17 December 2009
Author:thomasv
Status:ok (Comments)
Tags:
Comment:
minor
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread_index.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread_index.js
@@ -14,7 +14,7 @@
1515 function proofreadpage_index_init() {
1616
1717 var toolbar = document.getElementById("toolbar");
18 - toolbar.parentNode.removeChild(toolbar);
 18+ if(toolbar) toolbar.parentNode.removeChild(toolbar);
1919
2020 var text = document.getElementById("wpTextbox1");
2121 if(!text) return;

Comments

#Comment by Tim Starling (talk | contribs)   06:15, 12 January 2010

Please give an informative commit message on all your commits. It doesn't look minor to me, it looks like a bugfix.

Status & tagging log