Skip to content

Commit

Permalink
Merge pull request opensource-socialnetwork#1096 from githubertus/pat…
Browse files Browse the repository at this point in the history
…ch-18

don't scroll page on opening ViewLikes
  • Loading branch information
lianglee authored May 26, 2017
2 parents 6b7113e + 1db0677 commit 9388214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/OssnLikes/plugins/default/likes/post/likes.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
$total = 'people';
}
$link['onclick'] = "Ossn.ViewLikes({$object});";
$link['href'] = '#';
$link['href'] = 'javascript:void(0);';
$link['text'] = ossn_print("ossn:like:{$total}", array($count));
$link = ossn_plugin_view('output/url', $link);
echo ossn_print("ossn:like:you:and:this", array($link));
Expand All @@ -44,7 +44,7 @@
$total = 'people';
}
$link['onclick'] = "Ossn.ViewLikes({$object});";
$link['href'] = '#';
$link['href'] = 'javascript:void(0);';
$link['text'] = ossn_print("ossn:like:{$total}", array($count));
$link = ossn_plugin_view('output/url', $link);
echo ossn_print("ossn:like:this", array($link));
Expand Down

0 comments on commit 9388214

Please sign in to comment.