mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-03-12 05:21:18 +00:00
quick hack to prevent mixing old hashtag requests into current modal
This commit is contained in:
parent
b5baa85362
commit
ce738a5315
@ -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…
x
Reference in New Issue
Block a user