mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									9e440c7635
								
							
						
					
					
						commit
						db078e4ebb
					
				| @ -560,44 +560,44 @@ var URLHistoryUIActions = actions.Actions({ | |||||||
| 				}, | 				}, | ||||||
| 				// add item buttons...
 | 				// add item buttons...
 | ||||||
| 				{ itemButtons: [ | 				{ itemButtons: [ | ||||||
| 						// open...
 | 					// open...
 | ||||||
| 						['<span class="show-on-hover">↗</span>',  | 					['<span class="show-on-hover">↗</span>',  | ||||||
| 							function(p){ o.browsePath(p) }], | 						function(p){  | ||||||
| 						// move to top...
 | 							o.browsePath(p) }], | ||||||
| 						//['<span class="show-on-hover">♦</span>', 
 | 					// move to top...
 | ||||||
| 						['♦',  | 					//['<span class="show-on-hover">♦</span>', 
 | ||||||
| 							function(p){ | 					['♦',  | ||||||
| 								that.setTopURLHistory(p) | 						function(p){ | ||||||
| 								o.redraw(p) | 							that.setTopURLHistory(p) | ||||||
| 							}], | 							o.redraw(p) | ||||||
| 						// pin to top...
 | 						}], | ||||||
| 						// XXX should this be standard functionality???
 | 					// pin to top...
 | ||||||
| 						['<span class="pin-set">●</span>' | 					// XXX should this be standard functionality???
 | ||||||
| 						+'<span class="pin-unset">○</span>',  | 					['<span class="pin-set">●</span>' | ||||||
| 							function(p, cur){ | 					+'<span class="pin-unset">○</span>',  | ||||||
| 								// change state...
 | 						function(p, cur){ | ||||||
| 								// pinned...
 | 							// change state...
 | ||||||
| 								if(cur.hasClass('pinned')){ | 							// pinned...
 | ||||||
| 									cur.removeClass('pinned') | 							if(cur.hasClass('pinned')){ | ||||||
| 									that.toggleURLPinned(p, 'off') | 								cur.removeClass('pinned') | ||||||
|  | 								that.toggleURLPinned(p, 'off') | ||||||
| 
 | 
 | ||||||
| 								// not pinned...
 | 							// not pinned...
 | ||||||
| 								} else { | 							} else { | ||||||
| 									cur.addClass('pinned') | 								cur.addClass('pinned') | ||||||
| 									that.toggleURLPinned(p, 'on') | 								that.toggleURLPinned(p, 'on') | ||||||
| 								} | 							} | ||||||
| 
 | 
 | ||||||
| 								// focus...
 | 							// focus...
 | ||||||
| 								that.config['url-history-focus-on-pin'] | 							that.config['url-history-focus-on-pin'] | ||||||
| 									&& o.select(cur) | 								&& o.select(cur) | ||||||
| 
 | 
 | ||||||
| 								// place...
 | 							// place...
 | ||||||
| 								o.redraw() | 							o.redraw() | ||||||
| 							}], | 						}], | ||||||
| 						// mark for removal...
 | 					// mark for removal...
 | ||||||
| 						browse.buttons.markForRemoval(to_remove) | 					browse.buttons.markForRemoval(to_remove)  | ||||||
| 					], | 				] }) | ||||||
| 				}) |  | ||||||
| 				.open(function(evt, path){  | 				.open(function(evt, path){  | ||||||
| 					removeStriked('open') | 					removeStriked('open') | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user