Permalink
Browse files

Remove single space after CSS rules when sending to copy/paste

  • Loading branch information...
1 parent 1700751 commit 8435b162f09bac9610e34cee55e1cba808a04039 @chrsr chrsr committed Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/javascript.js
View
@@ -380,7 +380,7 @@ function copypasta(){
return function(client) {
var text = elem.closest("pre")
.nextAll('pre.rule').eq(0).find('.declaration-block').text();
- text = text.replace(/\/\*.*?\*\//g,''); // strip comments
+ text = text.replace(/ \/\*.*?\*\//g,''); // strip comments
zc.setText( text );
$(elem).fadeOut(50).fadeIn(300)
}

0 comments on commit 8435b16

Please sign in to comment.