fix for firefox image drag bug (fixes #387, and drag-and-drop)
This commit is contained in:
parent
5b94a68f0f
commit
33eb986c59
1 changed files with 4 additions and 0 deletions
|
@ -260,6 +260,10 @@ Ox.load.UI = function(options, callback) {
|
||||||
Ox.$document = Ox.UI.$document = $(document);
|
Ox.$document = Ox.UI.$document = $(document);
|
||||||
Ox.$head = Ox.UI.$head = $('head');
|
Ox.$head = Ox.UI.$head = $('head');
|
||||||
Ox.$window = Ox.UI.$window = $(window);
|
Ox.$window = Ox.UI.$window = $(window);
|
||||||
|
// fixme: is this the right place to do this?
|
||||||
|
$.browser.mozilla && Ox.$document.bind('dragstart', function() {
|
||||||
|
return false;
|
||||||
|
});
|
||||||
callbacks.forEach(function(callback) {
|
callbacks.forEach(function(callback) {
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue