Browse files

Add a fix for checkboxes' selection in chromium.

  • Loading branch information...
1 parent 6b636c9 commit 99fa699ec39f06ab696e4a5fa441dd69133f263f @arcusfelis committed Dec 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 priv/js_src/relatio.world.js
View
4 priv/js_src/relatio.world.js
@@ -159,6 +159,10 @@ relatio.initWorld = function() {
var last2 = 0; // newer
cbs.click(function(e) {
+ // This fucuses are neaded to make chromium happy!
+ // This browser tries to select the next.
+ $(cbs[0]).next().focus();
+ $(this).next().focus();
var cur = cbs.index(this);
if (last2 != cur) {
last1 = last2;

0 comments on commit 99fa699

Please sign in to comment.