summaryrefslogtreecommitdiff
path: root/skins/common/protect.js
diff options
context:
space:
mode:
Diffstat (limited to 'skins/common/protect.js')
-rw-r--r--skins/common/protect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/skins/common/protect.js b/skins/common/protect.js
index d9650c82..e037f08a 100644
--- a/skins/common/protect.js
+++ b/skins/common/protect.js
@@ -22,7 +22,7 @@ var ProtectionForm = {
var boxbody = box.getElementsByTagName('tbody')[0]
var row = document.createElement( 'tr' );
- boxbody.insertBefore( row, boxbody.firstChild );
+ boxbody.insertBefore( row, boxbody.firstChild.nextSibling );
this.existingMatch = opts.existingMatch;