diff --git a/AssemblyVersion.cs b/AssemblyVersion.cs index 3c12491..b341f96 100644 --- a/AssemblyVersion.cs +++ b/AssemblyVersion.cs @@ -16,5 +16,5 @@ using System.Reflection; // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("3.0.4.576")] -[assembly: AssemblyFileVersion("3.0.4.576")] \ No newline at end of file +[assembly: AssemblyVersion("3.0.4.577")] +[assembly: AssemblyFileVersion("3.0.4.577")] \ No newline at end of file diff --git a/WebApplication/JS/SearchHighlight.js b/WebApplication/JS/SearchHighlight.js index f464f56..dba0d2d 100644 --- a/WebApplication/JS/SearchHighlight.js +++ b/WebApplication/JS/SearchHighlight.js @@ -60,6 +60,7 @@ searchhi = { if (qmIndex == -1) return; var ampIndex = url.indexOf("&"); var query = url.substring(qmIndex + 4, ampIndex != -1 ? ampIndex : url.length); + if(query == "" || query.length < 2) return; query = query.replace(/,/g, ' '); query = unescape(query); searchhi.process(query);