DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:doubleclickedit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tips:doubleclickedit [2017-05-30 09:04]
43.249.187.104
tips:doubleclickedit [2017-05-30 09:05] (current)
43.249.187.104
Line 18: Line 18:
   jQuery('#bodyContent').dblclick(function(event) {   jQuery('#bodyContent').dblclick(function(event) {
     // console.log('calling doubleclick on tag='+this.tagName+', class='+this.className);     // console.log('calling doubleclick on tag='+this.tagName+', class='+this.className);
-    // console.log('calling doubleclick on tag='+event.target.tagName+', class='+event.target.className); +     
-    /* Only if we are NOT in the edit text area already */+    
     if (event.target.tagName != 'TEXTAREA') {     if (event.target.tagName != 'TEXTAREA') {
        window.location = '?do=edit';        window.location = '?do=edit';
tips/doubleclickedit.txt · Last modified: 2017-05-30 09:05 by 43.249.187.104