github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 259
    • 28
  • Source
  • Commits
  • Network (28)
  • Graphs
  • Tree: e02b6a5

click here to add a description

click here to add a homepage

  • Switch Branches (4)
    • bind
    • master
    • panel
    • tooltip
  • Switch Tags (15)
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
Sending Request…

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Button: spacing.
Scott González (author)
Mon Mar 15 21:07:23 -0700 2010
commit  e02b6a58d608bf033b19c868dfa5b310229fc7c1
tree    b8145645a87d0e0f1b8882a1b98cc5f1f77ab9c0
parent  3c31d720ce6f745b9201a54aeee34de6c22c50ec
M ui/jquery.ui.button.js 4 ••••
Txt ui/jquery.ui.button.js
  • View file @ e02b6a5
... ...
@@ -69,7 +69,7 @@ $.widget( "ui.button", {
69 69
       options.label = this.buttonElement.html();
70 70
     }
71 71
 
72  
-    if ( this.element.is(":disabled") ) {
  72
+    if ( this.element.is( ":disabled" ) ) {
73 73
       options.disabled = true;
74 74
     }
75 75
 
... ...
@@ -240,7 +240,7 @@ $.widget( "ui.button", {
240 240
   },
241 241
 
242 242
   refresh: function() {
243  
-    var isDisabled = this.element.is(":disabled");
  243
+    var isDisabled = this.element.is( ":disabled" );
244 244
     if ( isDisabled !== this.options.disabled ) {
245 245
       this._setOption( "disabled", isDisabled );
246 246
     }

0 notes on commit e02b6a5

Please log in to comment.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server