mirror of
https://github.com/jsbin/jsbin.git
synced 2026-02-01 16:46:05 +00:00
Return false if switching panels
This commit is contained in:
parent
0d3a23a797
commit
47704cd414
@ -137,8 +137,10 @@ function keycontrol(event) {
|
||||
return false;
|
||||
} else if (ctrl && event.which == 49) { // 49 == 1 key
|
||||
$('#control a.source').click();
|
||||
return false;
|
||||
} else if (ctrl && event.which == 50) {
|
||||
$('#control a.preview').click();
|
||||
return false;
|
||||
}
|
||||
|
||||
// sends message to the document saying that a key has been pressed, we'll ignore the control keys
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user