]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
bug, make ajax submission work again
authorHannes Mannerheim <h@nnesmannerhe.im>
Sun, 5 Oct 2014 22:49:35 +0000 (00:49 +0200)
committerHannes Mannerheim <h@nnesmannerhe.im>
Sun, 5 Oct 2014 22:49:35 +0000 (00:49 +0200)
js/util.js

index c1a3b771537949dfb9d229b3ea455bd0d88400c9..1d01f72ecd27a472368d03beccd4ab71399ffdd1 100644 (file)
@@ -1361,7 +1361,7 @@ var SN = { // StatusNet
 
             var profileLink = $('#nav_profile a').attr('href');
             if (profileLink) {
-                var authorUrl = $(notice).find('.h-card.u-url').attr('href');
+                var authorUrl = $(notice).find('.h-card.p-author').attr('href');
                 if (authorUrl == profileLink) {
                     if (action == 'all' || action == 'showstream') {
                         // Posts always show on your own friends and profile streams.