diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 27f2c93a79..f153fc33ff 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