ginebra2/chrome/js/ActionButton.js
changeset 3 0954f5dd2cd0
parent 0 1450b09d0cfd
--- a/ginebra2/chrome/js/ActionButton.js	Fri May 14 15:40:36 2010 +0300
+++ b/ginebra2/chrome/js/ActionButton.js	Tue Jun 29 00:46:29 2010 -0400
@@ -70,14 +70,14 @@
 // and mouse up seem to cancel the onclick.
 //    this.onClick = function() {
 //        window.chrome.alert("ActionButton::onClick: " + this);
-//        if(this.action.enabled) {
+//        if (this.action.enabled) {
 //            this.action.trigger();
 //        }
 //        else {
 //            window.chrome.alert("ActionButton::onClick: not enabled");
 //        }
 //    }
-    
+
     this.onMouseDown = function() {
         // window.chrome.alert("ActionButton::onMouseDown " + this);
         if (!this.isDown) {
@@ -107,7 +107,7 @@
         if (this.isDown) {
             this.isDown = false;
             this.updateButton.call(this);
-            
+
             if (this.triggerOnMouseOut) {
                 // Trigger the action.
                 this.action.trigger();