Skip to content

Commit

Permalink
Merge pull request yderidde#11 from nirnanaaa/master
Browse files Browse the repository at this point in the history
Missing propertyUnit on value change
  • Loading branch information
yderidde committed Aug 16, 2013
2 parents 229ab94 + 2aa72f3 commit 5bd1a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindstyle-ember-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Ember.Handlebars.registerHelper('bindStyle', function(options) {
var currentValue = elem.css(attr);

if (currentValue !== result) {
elem.css(attr, result);
elem.css(attr, result+propertyUnit);
}
};

Expand Down

0 comments on commit 5bd1a6f

Please sign in to comment.