frio: fix - I used the wrong variable
authorrabuzarus <rabuzarus@t-online.de>
Wed, 10 Aug 2016 11:33:49 +0000 (13:33 +0200)
committerrabuzarus <rabuzarus@t-online.de>
Wed, 10 Aug 2016 11:33:49 +0000 (13:33 +0200)
view/theme/frio/js/theme.js

index 27f2c93..f153fc3 100644 (file)
@@ -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