mirror of
				https://github.com/SuperBFG7/ympd
				synced 2025-11-03 23:33:00 +00:00 
			
		
		
		
	remove "root" in path is ugly
This commit is contained in:
		@@ -65,7 +65,7 @@ var app = $.sammy(function() {
 | 
				
			|||||||
        browsepath = this.params['splat'][1];
 | 
					        browsepath = this.params['splat'][1];
 | 
				
			||||||
        pagination = parseInt(this.params['splat'][0]);
 | 
					        pagination = parseInt(this.params['splat'][0]);
 | 
				
			||||||
        current_app = 'browse';
 | 
					        current_app = 'browse';
 | 
				
			||||||
        $('#breadcrump').removeClass('hide').empty().append("<li><a uri=\"\" onclick=\"set_filter('')\">root</a></li>");
 | 
					        $('#breadcrump').removeClass('hide').empty().append("<li><a uri=\"\" onclick=\"set_filter('')\"></a></li>");
 | 
				
			||||||
		add_filter();
 | 
							add_filter();
 | 
				
			||||||
        $('#salamisandwich').removeClass('hide').find("tr:gt(0)").remove();
 | 
					        $('#salamisandwich').removeClass('hide').find("tr:gt(0)").remove();
 | 
				
			||||||
        socket.send('MPD_API_GET_BROWSE,'+pagination+','+(browsepath ? browsepath : "/"));
 | 
					        socket.send('MPD_API_GET_BROWSE,'+pagination+','+(browsepath ? browsepath : "/"));
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user