diff --git a/js/functions.js b/js/functions.js index df7a33831..3a07b170f 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1004,7 +1004,7 @@ function toggleSelectRow2(sender, row, is_cdm) { else row.removeClassName('Selected'); - if (typeof updateSelectedPrompt != undefined) + if (typeof Headlines != "undefined") Headlines.updateSelectedPrompt(); } @@ -1018,7 +1018,7 @@ function toggleSelectRow(sender, row) { else row.removeClassName('Selected'); - if (typeof updateSelectedPrompt != undefined) + if (typeof Headlines != "undefined") Headlines.updateSelectedPrompt(); }