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 revisionPrevious revision
tips:doubleclickedit [2017-05-30 09:04] 43.249.187.104tips: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

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki