Browse Source

style-select.js: fix on firefox

pull/40/head
czaks 11 years ago
committed by Michael Foster
parent
commit
be8c84a2ab
  1. 2
      js/style-select.js

2
js/style-select.js

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

Loading…
Cancel
Save