Content deleted Content added
@Ohconfucius: based on gerrit:139877,it seems there is another option: create a function like function prevDef ( e ) { e.preventDefault(); } and then attach two click handlers to each link, as in $( add('p-tb', '#', 'Body dates to dmy', 't-dmy', 'd |
Ohconfucius (talk | contribs) →Updates: thanks |
||
Line 52:
</syntaxhighlight>
Then you don't need to add <code>e.preventDefault()</code> to every function. [[User:Helder.wiki|Helder]] 21:46, 15 August 2014 (UTC)
*Brilliant. Much more elegant solution. --<small><span style="background-color:#ffffff;border: 1px solid;">[[User:Ohconfucius|'''<span style="color:#000000; background-color:#00FF00"> Ohc </span>''']]</span></small>[[User talk:Ohconfucius|<sup>''¡digame!''</sup>]] 01:30, 16 August 2014 (UTC)
|