Permalink
Browse files

using prop() cuz IE complains FUCK IE

  • Loading branch information...
1 parent 46f9700 commit d322c68851a0b290b956a6f11da2a534077d9010 @lmatteis committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 attachments/site.js
View
@@ -25,7 +25,7 @@ var comments = {
} else {
// get the level width property
// and add 40 to it
- var width = level.find('.level').attr('width');
+ var width = level.find('.level').prop('width');
$this.find('.level').attr('width', parseInt(width, 10) + 40);
$this.insertAfter(level);
}

0 comments on commit d322c68

Please sign in to comment.