|
@ -20,7 +20,7 @@ onready(function(){ |
|
|
var i = 1; |
|
|
var i = 1; |
|
|
stylesDiv.children().each(function() { |
|
|
stylesDiv.children().each(function() { |
|
|
var opt = $('<option></option>') |
|
|
var opt = $('<option></option>') |
|
|
.text(this.innerText.replace(/(^\[|\]$)/g, '')) |
|
|
.html(this.innerHTML.replace(/(^\[|\]$)/g, '')) |
|
|
.val(i); |
|
|
.val(i); |
|
|
if ($(this).hasClass('selected')) |
|
|
if ($(this).hasClass('selected')) |
|
|
opt.attr('selected', true); |
|
|
opt.attr('selected', true); |
|
|