add fix for firefox

This commit is contained in:
Jorge Espada 2014-03-28 16:58:05 +01:00
parent 86574e9a80
commit a965ae94c5

View file

@ -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();
}