Remove button_with_confirm class from buttons once in progress.
This commit is contained in:
		
							parent
							
								
									4ab352a74d
								
							
						
					
					
						commit
						a0164205a2
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -159,6 +159,8 @@ function init_button_with_confirm() | |||
|     for (var index = 0; index < buttons.length; index += 1) | ||||
|     { | ||||
|         var button = buttons[index]; | ||||
|         button.classList.remove("button_with_confirm"); | ||||
| 
 | ||||
|         var holder = document.createElement("span"); | ||||
|         holder.classList.add("confirm_holder"); | ||||
|         holder.classList.add(button.dataset.holderClass || "confirm_holder"); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue