diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 27f2c93a7..f153fc33f 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -546,7 +546,7 @@ String.prototype.rtrim = function() { // Scroll to a specific item and highlight it // Note: jquery.color.js is needed function scrollToItem(itemID) { - if( typeof searchValue === "undefined") + if( typeof itemID === "undefined") return; // Define the colors which are used for highlighting