fix, sometimes the remote username wasn't added to the browsing history
This commit is contained in:
parent
3968aba9c3
commit
79824422c2
|
@ -1036,6 +1036,9 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
|
|||
setUrlFromStream(streamObject);
|
||||
}
|
||||
|
||||
// add this stream to the history menu
|
||||
addStreamToHistoryMenuAndMarkAsCurrent(streamObject);
|
||||
|
||||
// profile card from user array
|
||||
if(userArray) {
|
||||
addProfileCardToDOM(buildProfileCard(userArray));
|
||||
|
@ -1075,9 +1078,6 @@ function setNewCurrentStream(streamObject,setLocation,fallbackId,actionOnSuccess
|
|||
window.clearInterval(checkForNewQueetsInterval);
|
||||
checkForNewQueetsInterval=window.setInterval(function(){checkForNewQueets()},window.timeBetweenPolling);
|
||||
|
||||
// add this stream to the history menu
|
||||
addStreamToHistoryMenuAndMarkAsCurrent(streamObject);
|
||||
|
||||
remove_spinner();
|
||||
|
||||
// some streams, e.g. /statuses/show/1234.json is not enclosed in an array, make sure it is
|
||||
|
|
Loading…
Reference in New Issue
Block a user