Added no-repeat to background images set by change_preview in include/functions_plugins_admin.inc.php so images selected from the media database in theme options will no longer be tiled.
This commit is contained in:
parent
e0ee3d02cb
commit
9f1c097996
@ -629,6 +629,7 @@ function change_preview(id)
|
||||
var image_box = document.getElementById(id + '_preview');
|
||||
var filename = text_box.value;
|
||||
image_box.style.backgroundImage = 'url(' + filename + ')';
|
||||
image_box.style.backgroundRepeat = 'no-repeat';
|
||||
}
|
||||
function choose_media(id)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user