Permalink
Browse files

fix a bug when add a new css

  • Loading branch information...
volca
volca committed Jan 21, 2013
1 parent 3ccb959 commit 538381373d9ee1efd1714f5ab0f1c500207ab391
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/options.js
@@ -85,8 +85,8 @@ $('#btn-add-css').click(function() {
} else {
themes = [filename + ""];
}
themes = $.grep(themes, function(v, k){
return $.inArray(v ,arr) === k;
themes = $.grep(themes, function(v, k) {
return $.inArray(v, themes) === k;
});
var obj = {'custom_themes' : themes};
obj[themePrefix + filename] = fileString;

0 comments on commit 5383813

Please sign in to comment.