toggleSelect(etc): properly check for headlines object

This commit is contained in:
Andrew Dolgov 2018-12-02 09:49:49 +03:00
parent 0a18d0b1ed
commit 1930f0e4e0
1 changed files with 2 additions and 2 deletions

View File

@ -1004,7 +1004,7 @@ function toggleSelectRow2(sender, row, is_cdm) {
else else
row.removeClassName('Selected'); row.removeClassName('Selected');
if (typeof updateSelectedPrompt != undefined) if (typeof Headlines != "undefined")
Headlines.updateSelectedPrompt(); Headlines.updateSelectedPrompt();
} }
@ -1018,7 +1018,7 @@ function toggleSelectRow(sender, row) {
else else
row.removeClassName('Selected'); row.removeClassName('Selected');
if (typeof updateSelectedPrompt != undefined) if (typeof Headlines != "undefined")
Headlines.updateSelectedPrompt(); Headlines.updateSelectedPrompt();
} }