aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-01 17:56:03 -0700
committerfriendica <info@friendica.com>2014-05-01 17:56:03 -0700
commita8322ba1f65d3cc82678103d86ac924fb6581e5e (patch)
tree80c2f3837f5458cd53e6a3d165439af21eb263a1 /view/js/main.js
parentb9ae19c540e3664b4cc609b849da59ce27a1af91 (diff)
parente243da3647c38b587a06e121e171c6ab663af618 (diff)
downloadvolse-hubzilla-a8322ba1f65d3cc82678103d86ac924fb6581e5e.tar.gz
volse-hubzilla-a8322ba1f65d3cc82678103d86ac924fb6581e5e.tar.bz2
volse-hubzilla-a8322ba1f65d3cc82678103d86ac924fb6581e5e.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 38cde749c..17ef578be 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -645,12 +645,15 @@ function updateConvItems(mode,data) {
} else {
$("#nav-" + notifyType + "-menu").html(notifications_all + notifications_mark);
-
$(data.notify).each(function() {
html = notifications_tpl.format(this.notify_link,this.photo,this.name,this.message,this.when,this.class);
$("#nav-" + notifyType + "-menu").append(html);
});
-
+ $(".dropdown-menu img[data-src]").each(function(i, el){
+ // Replace data-src attribute with src attribute for every image
+ $(el).attr('src', $(el).data("src"));
+ $(el).removeAttr("data-src");
+ });
}
});