From: rabuzarus Date: Wed, 10 Aug 2016 11:33:49 +0000 (+0200) Subject: frio: fix - I used the wrong variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=531cba5ce53b85ad6ffae73f1f91580feb9f3101;p=friendica.git frio: fix - I used the wrong variable --- 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