Check for null when receiving history.
This commit is contained in:
parent
a1bec12b2e
commit
ccbf8572c3
@ -152,7 +152,7 @@ window.loadHistory = (function() {
|
|||||||
* @returns {void}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
function receiveHistory(status, history) {
|
function receiveHistory(status, history) {
|
||||||
if (history === undefined) {
|
if (history === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user