final accessibility for Timeslider hopefully

This commit is contained in:
John McLear 2015-04-03 12:29:47 +01:00
parent 139edceb66
commit f79e2c7de2
2 changed files with 54 additions and 35 deletions

View file

@ -290,6 +290,11 @@ function loadBroadcastSliderJS(fireWhenAllScriptsAreLoaded)
$(document).keyup(function(e)
{
// If focus is on editbar, don't do anything
var target = $(':focus');
if($(target).parents(".toolbar").length === 1){
return;
}
var code = -1;
if (!e) var e = window.event;
if (e.keyCode) code = e.keyCode;