OcttKB Cross-Repo Sync (HTML to Raw)

This commit is contained in:
2023-11-04 00:53:01 +00:00
parent 7d6eb126e8
commit 014444a845
21 changed files with 49 additions and 28 deletions

View File

@ -35,7 +35,7 @@ ClickListener.prototype.render = function(parent,nextSibling) {
wrong object, we should call our edit function with our widget object set as the this property.*/
/* OcttKB: edit this to work with 3 clicks instead of 2 */
window.addEventListener('click', function(ev){
parent.addEventListener('click', function(ev){
if (ev.detail === 3) {
self.editTiddler.call(self, event);
}

View File

@ -1,6 +1,6 @@
created: 20231103222110593
creator: Octt
modified: 20231103222326612
modified: 20231103232415086
modifier: Octt
module-type: widget
title: $:/plugins/danielo515/2click2edit/ClickListener.js