diff options
| -rw-r--r-- | src/directives.js | 2 | ||||
| -rwxr-xr-x | test.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/directives.js b/src/directives.js index 2d318be2..d9cf7962 100644 --- a/src/directives.js +++ b/src/directives.js @@ -109,7 +109,7 @@ angularDirective("ng-bind-attr", function(expression){ specialName = REMOVE_ATTRIBUTES[lowercase(key)]; if (specialName) { if (element[specialName] = toBoolean(value)) { - element.attr(key, value); + element.attr(specialName, value); } else { element.removeAttr(key); } @@ -1,2 +1,2 @@ -# java -jar lib/jstestdriver/JsTestDriver.jar --tests all -java -jar lib/jstestdriver/JsTestDriver.jar --tests 'widget ng:switch' --config jsTestDriver-jquery.conf +java -jar lib/jstestdriver/JsTestDriver.jar --tests all +# java -jar lib/jstestdriver/JsTestDriver.jar --tests all --config jsTestDriver-jquery.conf |
