Browse Source

quick hack to prevent mixing old hashtag requests into current modal

master
Miguel Freitas 10 years ago
parent
commit
ce738a5315
  1. 2
      js/twister_actions.js

2
js/twister_actions.js

@ -307,7 +307,7 @@ function requestHashtag(postboard,hashtag,resource, timeoutArgs) { @@ -307,7 +307,7 @@ function requestHashtag(postboard,hashtag,resource, timeoutArgs) {
}
function processHashtag(postboard, hashtag, data) {
if( data ) {
if( data && window.location.hash.indexOf(hashtag) != -1 ) {
for( var i = data.length-1; i >= 0; i-- ) {
var userpost = data[i]["userpost"];
var key = userpost["n"] + ";" + userpost["time"];

Loading…
Cancel
Save