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:
Matthias Mees 2009-10-12 10:58:30 +00:00
parent e0ee3d02cb
commit 9f1c097996

View File

@ -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)
{