add fix for firefox
This commit is contained in:
parent
86574e9a80
commit
a965ae94c5
1 changed files with 3 additions and 2 deletions
|
@ -124,8 +124,9 @@ var view = (function() {
|
|||
|
||||
var self = this;
|
||||
this.clickFocusable = true;
|
||||
this.el.click(function() {
|
||||
if (event.ctrlKey || event.metaKey) {
|
||||
this.el.click(function(e) {
|
||||
if (!e) var e = windows.event;
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
if (self.clickFocusable) {
|
||||
self.focus();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue