fixed more thumbnails

This commit is contained in:
Jeena Paradies 2012-10-11 19:11:51 +02:00
parent 3cc362f1d5
commit 0d49a3b275
2 changed files with 5 additions and 14 deletions

View file

@ -114,7 +114,8 @@ Twittia.prototype.getItem = function(status) {
if(media.type == "photo") {
var a = document.createElement("a");
a.href = media.media_url;
alert(a.href)
template.message.innerHTML = template.message.innerHTML.replace(media.url, "");
alert(media.url)
var img = document.createElement("img");
img.className = "photo";