mirror of
				https://github.com/flynx/PortableMag.git
				synced 2025-10-31 03:50:16 +00:00 
			
		
		
		
	added theme toggler button for testing...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									dca4e57bc6
								
							
						
					
					
						commit
						b8b81ca118
					
				| @ -832,6 +832,14 @@ $(document).ready(function(){ | |||||||
| 								<button id="UPDATE_HASH_URL_POSITION" onclick="toggleSetting(this)"></button> | 								<button id="UPDATE_HASH_URL_POSITION" onclick="toggleSetting(this)"></button> | ||||||
| 							</td> | 							</td> | ||||||
| 						</tr> | 						</tr> | ||||||
|  | 						<tr> | ||||||
|  | 							<td> | ||||||
|  | 								Toggele viewer themes:  | ||||||
|  | 							</td> | ||||||
|  | 							<td> | ||||||
|  | 								<button id="theme_toggler" onclick="toggleThemes(); $(this).text(toggleThemes('?'))"></button> | ||||||
|  | 							</td> | ||||||
|  | 						</tr> | ||||||
| 						<tr> | 						<tr> | ||||||
| 							<td> | 							<td> | ||||||
| 								Full navigation gistory:  | 								Full navigation gistory:  | ||||||
| @ -945,6 +953,7 @@ $(document).ready(function(){ | |||||||
| 						var b = $('#BrowserInfo') | 						var b = $('#BrowserInfo') | ||||||
| 						$.each($.browser, function(i, e){$('<div>'+i+': '+e+'</div>').appendTo(b)}) | 						$.each($.browser, function(i, e){$('<div>'+i+': '+e+'</div>').appendTo(b)}) | ||||||
| 						$('#UserAgent').text(navigator.userAgent) | 						$('#UserAgent').text(navigator.userAgent) | ||||||
|  | 						$('#theme_toggler').text(toggleThemes('?')) | ||||||
| 					} | 					} | ||||||
| 					function toggleSetting(obj){ | 					function toggleSetting(obj){ | ||||||
| 						obj = $(obj) | 						obj = $(obj) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user