Browse Source

own retwists are set to be displayed always

master
erqan 11 years ago
parent
commit
c879a85734
  1. 7
      js/twister_timeline.js

7
js/twister_timeline.js

@ -310,8 +310,11 @@ function timelineChangedUser() @@ -310,8 +310,11 @@ function timelineChangedUser()
function willBeHiden(post){
var msg = post['userpost']['msg'];
if (post['userpost']['n'] !== defaultScreenName &&
$.Options.getHideRepliesOpt() !== 'disable' &&
if (post['userpost']['n'] === defaultScreenName)
return false;
if ($.Options.getHideRepliesOpt() !== 'disable' &&
/^\@/.test(msg) &&
!(new RegExp('@' + defaultScreenName + '( |,|;|\\.|:|\\/|\\?|\\!|\\\\|\'|"|\\n|$)').test(msg)))
{

Loading…
Cancel
Save