Update style-select js for new html

This commit is contained in:
Michael Walker 2014-12-17 05:10:54 +00:00
parent d830f3e131
commit 21f2fdb3d4

View File

@ -16,7 +16,7 @@
onready(function(){ onready(function(){
var stylesDiv = $('div.styles'); var stylesDiv = $('div.styles');
var boardList = $('div.boardlist'); var pages = $('div.pages');
var stylesSelect = $('<select></select>'); var stylesSelect = $('<select></select>');
var i = 1; var i = 1;
@ -35,9 +35,8 @@ onready(function(){
$('#style-select-' + $(this).val()).click(); $('#style-select-' + $(this).val()).click();
}); });
stylesDiv.hide(); stylesDiv.hide()
pages.after(
boardList.after(
$('<div id="style-select"></div>') $('<div id="style-select"></div>')
/*.text(_('Style: '))*/ /*.text(_('Style: '))*/
.append(stylesSelect) .append(stylesSelect)