diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/test/data/testrunner.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/test/data/testrunner.js b/build/test/data/testrunner.js index ba6fc061c..e6cfc1eb0 100644 --- a/build/test/data/testrunner.js +++ b/build/test/data/testrunner.js @@ -125,13 +125,13 @@ function test(name, callback, nowait) { else n.style.display = "none"; }; - b.ondblclick = function(event) { + $(b).dblclick(function(event) { var target = jQuery(event.target).filter("strong").clone(); if ( target.length ) { target.children().remove(); location.href = location.href.match(/^(.+?)(\?.*)?$/)[1] + "?" + encodeURIComponent($.trim(target.text())); } - }; + }); li.appendChild( b ); li.appendChild( ol ); |