Fixed remember me checkbox.
This commit is contained in:
		
							parent
							
								
									9dbc2b5664
								
							
						
					
					
						commit
						ed1c3374dd
					
				| @ -40,21 +40,18 @@ $('body').on('click', '.js-remember-label', function (ev) { | |||||||
|   var $this = $(this); |   var $this = $(this); | ||||||
|   if ($this.find('.js-remember-checkbox').is(':checked') === true) { |   if ($this.find('.js-remember-checkbox').is(':checked') === true) { | ||||||
|     $this.find('.js-remember-checkbox').prop( "checked", false ); |     $this.find('.js-remember-checkbox').prop( "checked", false ); | ||||||
|  |     $this.find('js-remember-status').attr("src", "./img/unpressed-check.png"); | ||||||
|   } else { |   } else { | ||||||
|     $this.find('.js-remember-checkbox').prop( "checked", true ); |     $this.find('.js-remember-checkbox').prop( "checked", true ); | ||||||
|  |     $this.find('js-remember-status').attr("src", "./img/pressed-check.png"); | ||||||
|   } |   } | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| $('body').on('click', '.check', function () { |  | ||||||
|   'use strict'; |  | ||||||
| }); |  | ||||||
| 
 |  | ||||||
| $('body').on('click', '.js-auth-li-enabled', function (ev) { | $('body').on('click', '.js-auth-li-enabled', function (ev) { | ||||||
|   'use strict'; |   'use strict'; | ||||||
|   ev.preventDefault(); |   ev.preventDefault(); | ||||||
|   ev.stopPropagation(); |   ev.stopPropagation(); | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|   var $this = $(this); |   var $this = $(this); | ||||||
|   var $hiddenCheckbox = $this.find('.js-auth-checkbox'); |   var $hiddenCheckbox = $this.find('.js-auth-checkbox'); | ||||||
|   var $img = $this.find('.check'); |   var $img = $this.find('.check'); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user