mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-27 17:08:40 +00:00
Add default action prevention
This commit is contained in:
parent
9efd02bcff
commit
6aaf28cc6c
|
|
@ -127,6 +127,10 @@
|
|||
// Register event for first action
|
||||
e.addEventListener(listener.listener, function (event)
|
||||
{
|
||||
if(listener.preventDefault) {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
self.runAction(this, listener, listener.action[0], event);
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user