https://bugzilla.wikimedia.org/show_bug.cgi?id=72891

            Bug ID: 72891
           Summary: Edit on double click: Try to target background (not
                    inputs, etc)
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

I made dblClickEdit a bit safer for myself because I happen to false double
click on inputs, audios and images

I use

            if(event.target.nodeName != "A"
                    && event.target.nodeName != "FORM"
                    && event.target.nodeName != "INPUT"
                    && event.target.nodeName != "IMG"
                    && event.target.nodeName != "AUDIO"
                    ) {
               //document.location = wgServer+'/w/'+pn+'?action=edit';
               $( '#ca-edit a' ).get( 0 ).click();
            }


Maybe consider adding these as not every wiki is WIkipedia so conetent pages
can happen to have inputs...

Tags: editondblclick dblclick dblClickEdit

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to