[damned-lies] Use event.dispatch.apply() instead of event.event.apply() for the user box
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Use event.dispatch.apply() instead of event.event.apply() for the user box
- Date: Fri, 13 May 2016 14:50:48 +0000 (UTC)
commit f5056196c8955181071a359154986cddc9b805db
Author: Tom Tryfonidis <tomtryf gmail com>
Date: Thu May 12 12:23:08 2016 +0300
Use event.dispatch.apply() instead of event.event.apply() for the user box
common/static/js/modal.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common/static/js/modal.js b/common/static/js/modal.js
index 2e76dc7..4602a0c 100644
--- a/common/static/js/modal.js
+++ b/common/static/js/modal.js
@@ -7,7 +7,7 @@ modal = (function($) {
// This is a trick that fires jQuery's event handler during the
// capturing phase.
function captureHandler() {
- $.event.handle.apply(document.body, arguments);
+ $.event.dispatch.apply(document.body, arguments);
}
function activateModal(elem, closeFunction) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]