mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 11:20:09 +00:00 
			
		
		
		
	tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									d13b39609a
								
							
						
					
					
						commit
						643d5a6ecb
					
				| @ -139,21 +139,22 @@ function(text, options){ | |||||||
| 	var elem = (options.action ? this.Action : this).call(this, text, options) | 	var elem = (options.action ? this.Action : this).call(this, text, options) | ||||||
| 		.on('select', function(){ | 		.on('select', function(){ | ||||||
| 			var text = elem.find('.text') | 			var text = elem.find('.text') | ||||||
|  | 
 | ||||||
| 			// get the specific .text element...
 | 			// get the specific .text element...
 | ||||||
|  | 			text =  | ||||||
| 				// select index...
 | 				// select index...
 | ||||||
| 				typeof(options.select_text) == typeof(123) ? | 				typeof(options.select_text) == typeof(123) ? | ||||||
| 					text.eq(options.select_text) | 					text.eq(options.select_text) | ||||||
| 					.selectText() |  | ||||||
| 				// first/last
 | 				// first/last
 | ||||||
| 				: (options.select_text == 'first' || options.select_text == 'last') ? | 				: (options.select_text == 'first' || options.select_text == 'last') ? | ||||||
| 					text[options.select_text]() | 					text[options.select_text]() | ||||||
| 					.selectText() |  | ||||||
| 				// selector...
 | 				// selector...
 | ||||||
| 				: typeof(options.select_text) == typeof('str') ? | 				: typeof(options.select_text) == typeof('str') ? | ||||||
| 					elem.find(options.select_text) | 					elem.find(options.select_text) | ||||||
| 					.selectText() |  | ||||||
| 				// all...
 | 				// all...
 | ||||||
| 			: text.selectText() | 				: text | ||||||
|  | 
 | ||||||
|  | 			text.selectText() | ||||||
| 		}) | 		}) | ||||||
| 	return elem | 	return elem | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user