Update style-select js for new html
This commit is contained in:
parent
d830f3e131
commit
21f2fdb3d4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user