Permalink
Browse files

missing brackets

  • Loading branch information...
1 parent bc7fe4c commit 2ee6a81d193e80cc248ec032aafd2642b0a66cd4 @vikstrous committed Oct 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/zepto.js
View
@@ -564,8 +564,7 @@ var Zepto = (function() {
},
css: function(property, value){
if (arguments.length < 2 && typeof property == 'string')
- return (
- this[0] && this[0].style[camelize(property)] || getComputedStyle(this[0], '').getPropertyValue(property))
+ return this[0] && (this[0].style[camelize(property)] || getComputedStyle(this[0], '').getPropertyValue(property))
var css = ''
for (key in property)

0 comments on commit 2ee6a81

Please sign in to comment.