r3015 committed - fixed disabled on init

r3015 committed - fixed disabled on init


Revision: 3015
Author: rdworth
Date: Fri Jul 31 05:48:53 2009
Log: fixed disabled on init
http://code.google.com/p/jquery-ui/source/detail?r=3015
Modified:
/branches/dev/spinner/ui/ui.spinner.js
=======================================
--- /branches/dev/spinner/ui/ui.spinner.js    Fri Jul 31 05:47:55 2009
+++ /branches/dev/spinner/ui/ui.spinner.js    Fri Jul 31 05:48:53 2009
@@ -142,7 +142,7 @@
        }
        // disable spinner if element was already disabled
-        if (this.element.attr("disabled")) {
+        if (options.disabled) {
            this.disable();
        }