Check for null when receiving history.

This commit is contained in:
Imran Sobir 2017-03-09 22:16:46 +05:00
parent a1bec12b2e
commit ccbf8572c3

View File

@ -152,7 +152,7 @@ window.loadHistory = (function() {
* @returns {void}
*/
function receiveHistory(status, history) {
if (history === undefined) {
if (history === null) {
return;
}