mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	more cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									bd843e6d1f
								
							
						
					
					
						commit
						04dcf93c0c
					
				| @ -147,11 +147,7 @@ var StatusBarActions = actions.Actions({ | |||||||
| 										item.hasClass('global') ? 'global' : undefined) | 										item.hasClass('global') ? 'global' : undefined) | ||||||
| 							}) | 							}) | ||||||
| 							.click(function(){ | 							.click(function(){ | ||||||
| 								// select the text...
 | 								$(this).selectText() | ||||||
| 								window.getSelection().removeAllRanges() |  | ||||||
| 								var range = document.createRange() |  | ||||||
| 								range.selectNodeContents(this) |  | ||||||
| 								window.getSelection().addRange(range) |  | ||||||
| 							}) | 							}) | ||||||
| 							.blur(function(){ | 							.blur(function(){ | ||||||
| 								that.updateStatusBar() | 								that.updateStatusBar() | ||||||
| @ -214,10 +210,7 @@ var StatusBarActions = actions.Actions({ | |||||||
| 						// select the text...
 | 						// select the text...
 | ||||||
| 						// XXX should this also copy???
 | 						// XXX should this also copy???
 | ||||||
| 						.click(function(){ | 						.click(function(){ | ||||||
| 							window.getSelection().removeAllRanges() | 							$(this).selectText() | ||||||
| 							var range = document.createRange() |  | ||||||
| 							range.selectNodeContents(this) |  | ||||||
| 							window.getSelection().addRange(range) |  | ||||||
| 						})) | 						})) | ||||||
| 
 | 
 | ||||||
| 			} else { | 			} else { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user