[FIX] : cahnge the cover, the priview is little but once you save it is (too) big
bzr revid: aja@tinyerp.com-20140305125415-1476mmcrf4ukypl6
This commit is contained in:
parent
3e7d57c134
commit
7bb880f05c
|
@ -51,7 +51,8 @@
|
|||
o.url = $('.cover')[0].style.background.replace('url(','').replace(')','');
|
||||
});
|
||||
editor.on('save', self, function (o) {
|
||||
$('.cover').css("background-image", o.url && o.url !== "" ? 'url(' + o.url + ')' : "");
|
||||
$('.cover').css("background-image", o.url && o.url !== "" ? 'url(' + o.url + ')' : "" )
|
||||
.addClass('cover_header');
|
||||
});
|
||||
editor.appendTo('body');
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue