mirror of
https://github.com/arnaucube/class2context.git
synced 2026-02-06 18:56:41 +01:00
small improvement on changing dom solution
This commit is contained in:
@@ -12,13 +12,24 @@ class2context(
|
||||
);
|
||||
*/
|
||||
|
||||
/* testing this, not necessary
|
||||
/* testing this, not necessary */
|
||||
var cmCallNum=0;
|
||||
$( document ).ready(function() {
|
||||
$(document).on('contextmenu', function (e) {
|
||||
//e.preventDefault();
|
||||
/*//testing only
|
||||
console.log('ContextMenus() called, num.' + cmCallNum);
|
||||
cmCallNum++;*/
|
||||
ContextMenus();
|
||||
});
|
||||
});*/
|
||||
$(document).on('click', function (e) {
|
||||
//e.preventDefault();
|
||||
/*//testing only
|
||||
console.log('ContextMenus() called, num.' + cmCallNum);
|
||||
cmCallNum++;*/
|
||||
ContextMenus();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/* MUTATION OBSERVER
|
||||
|
||||
Reference in New Issue
Block a user