Added vmousecancel to the vevents list so that users can bind to the event.

This commit is contained in:
Kin Blas 2011-03-11 10:30:16 -08:00
parent 6ca8b9f700
commit 2de7cc5bbc

View file

@ -340,7 +340,7 @@ function getSpecialEventObject(eventType)
// Expose our custom events to the jQuery bind/unbind mechanism.
var vevents = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout".split(" ");
var vevents = "vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" ");
for (var i = 0; i < vevents.length; i++){
$.event.special[vevents[i]] = getSpecialEventObject(vevents[i]);
}