Perfect ! Thanks a lot !

Cheers,


Le mardi 4 septembre 2018 19:51:19 UTC+2, Diego Mesa a écrit :
>
> Hey Sylvain,
>
> If you just navigate to and edit this tiddler: 
>
> $:/plugins/danielo515/2click2edit/ClickListener.js
>
> go to line 36 which reads: 
>
> parent.addEventListener("dblclick",function(event){self.editTiddler.call(
> self,event)});
>
> REPLACE that line with the following text:
>
> parent.addEventListener('click', function (event) { if (event.detail === 3
> ) {self.editTiddler.call(self,event);} });
>
> Save that tiddler, and save/reload your wiki - you now have triple click 
> instead of double click. 
>
> Best,
> Diego
>
> On Tuesday, September 4, 2018 at 11:56:39 AM UTC-5, Sylvain Naudin wrote:
>>
>> Hi Diego,
>>
>> This triple click is interesting. I didn't success to apply your 
>> modification (i've the red alert js error).
>>
>> If someone could explain howto ?
>>
>> Sylvain
>>
>>
>> Le vendredi 8 décembre 2017 23:54:38 UTC+1, Diego Mesa a écrit :
>>>
>>> Hey all,
>>>
>>> Just reporting back that I made the following changes and repackaged and 
>>> it seems to work fine:
>>>
>>> parent.addEventListener('click', function (event) { 
>>>     if (event.detail === 3) {
>>>         self.editTiddler.call(self,event);
>>>     } 
>>> });
>>>
>>> I'm not sure how to make this plugin "configurable" yet
>>>
>>> On Friday, December 8, 2017 at 4:45:51 PM UTC-6, Diego Mesa wrote:
>>>>
>>>> Hey Danielo,
>>>>
>>>> Thanks for this - just wondering if its simple to change this plugin 
>>>> for triple clicks?
>>>>
>>>  
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/721d32b7-f332-4080-a002-c71ab0c17118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to