mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-10-31 05:43:01 +00:00 
			
		
		
		
	Fix: isNaN in search
This commit is contained in:
		| @@ -2890,7 +2890,7 @@ function addAllFromBrowseFilesystem() { | ||||
|  | ||||
| function addAllFromSearchPlist(plist) { | ||||
|     var nr = parseInt(document.getElementById('panel-heading-search').innerText); | ||||
|     if (nr != NaN && nr > 0) { | ||||
|     if (!isNaN(nr) && nr > 0) { | ||||
|         if (settings.featAdvsearch) | ||||
|             sendAPI({"cmd": "MPD_API_DATABASE_SEARCH_ADV", "data": {"plist": plist, "sort": "", "sortdesc": false, "expression": app.current.search, "offset": 0}}); | ||||
|         else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jcorporation
					jcorporation