diff options
author | RedMatrix <info@friendica.com> | 2014-05-02 10:55:31 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-05-02 10:55:31 +1000 |
commit | e243da3647c38b587a06e121e171c6ab663af618 (patch) | |
tree | 0ad551fed55c4287eaff3d1c84f512211d4c0ab3 /view/js/main.js | |
parent | 4c9f5031eb5d59c3e637ac0f41af9721f331580d (diff) | |
parent | cfad83084a0118dfdd88d4339109e3595e43ace5 (diff) | |
download | volse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.tar.gz volse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.tar.bz2 volse-hubzilla-e243da3647c38b587a06e121e171c6ab663af618.zip |
Merge pull request #439 from oohlaf/fixes
Fix unwanted GET {0} requests
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 7 |
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"); + }); } }); |