Skip to content

Commit

Permalink
Fix All checkbox in Opera (bug #374)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrana committed Jan 30, 2014
1 parent d5a2afe commit 125b519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adminer/static/functions.js
Expand Up @@ -95,7 +95,7 @@ function parentTag(el, tag) {
function trCheck(el) { function trCheck(el) {
var tr = parentTag(el, 'tr'); var tr = parentTag(el, 'tr');
alterClass(tr, 'checked', el.checked); alterClass(tr, 'checked', el.checked);
if (el.form && el.form['all']) { if (el.form && el.form['all'] && el.form['all'].onclick) { // Opera thinks that 'all' is who knows what
el.form['all'].onclick(); el.form['all'].onclick();
} }
} }
Expand Down

0 comments on commit 125b519

Please sign in to comment.