Fixed missing tab icon images by loading a generic when icon is unavailable.
This commit is contained in:
		
							
								
								
									
										16
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								README.md
									
									
									
									
									
								
							@@ -1,12 +1,12 @@
 | 
			
		||||
# Tab-Search-Firefox
 | 
			
		||||
Search firefox tabs and get a list or automatic direct to the searched tab.
 | 
			
		||||
Search Firefox tabs and get a list or automatic direct to the searched tab.
 | 
			
		||||
 | 
			
		||||
# Version: 1.1.5
 | 
			
		||||
Added grid like view plus changed look. Can now manage tabs through the interface such as move or close them.
 | 
			
		||||
# Version: 1.1.6
 | 
			
		||||
Fixed missing tab icon images by loading a generic when icon is unavailable.
 | 
			
		||||
 | 
			
		||||
# Images
 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||

 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
    "manifest_version": 2,
 | 
			
		||||
    "name": "Tab Search",
 | 
			
		||||
    "version": "1.1.5",
 | 
			
		||||
    "version": "1.1.6",
 | 
			
		||||
    "description": "Search Tabs and switch to them quickly.",
 | 
			
		||||
 | 
			
		||||
  "applications": {
 | 
			
		||||
 
 | 
			
		||||
@@ -33,11 +33,8 @@ function createContainer(tab) {
 | 
			
		||||
 | 
			
		||||
    icoImgTag.id = "faveIcon";
 | 
			
		||||
    icoImgTag.className = "thumbImg";
 | 
			
		||||
    if (tab.favIconUrl == null || tab.favIconUrl == "") {
 | 
			
		||||
        icoImgTag.src = "../icons/tab.png";
 | 
			
		||||
    } else {
 | 
			
		||||
        icoImgTag.src = tab.favIconUrl;
 | 
			
		||||
    }
 | 
			
		||||
    icoImgTag.onerror = function() { icoImgTag.src = "../icons/tab.png"; }
 | 
			
		||||
    icoImgTag.src = tab.favIconUrl;
 | 
			
		||||
 | 
			
		||||
    centerTag.appendChild(icoImgTag);
 | 
			
		||||
    spanTag.appendChild(closeImgTag);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user