Changes between Version 1 and Version 2 of Ticket #5979, comment 1


Ignore:
Timestamp:
Sep 5, 2011, 10:54:30 PM (10 years ago)
Author:
JamesKhoury
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5979, comment 1

    v1 v2  
    22
    33[http://jsfiddle.net/nJwbh/2/] shows the problem here
     4
     5
     6Solution: https://github.com/JamesKhoury/jquery-ui/commit/8f3df6402c26a75fd9716325d803e2959a2070d6
     7
     8in ui.button._create:
     9
     10{{{
     11  if(toggleButton){
     12     //... *snip*
     13     this.buttonElement.find("img").click(function()
     14     {
     15         self.buttonElement.click();
     16     });
     17   }
     18}}}