mirror of
				https://github.com/privacyguides/privacyguides.org.git
				synced 2025-10-31 19:46:34 +00:00 
			
		
		
		
	uses consistent syntax
This commit is contained in:
		| @@ -238,14 +238,15 @@ | |||||||
|           includeLowercaseChars: $("#include-lowercase-chars-checkbox").is(":checked"), |           includeLowercaseChars: $("#include-lowercase-chars-checkbox").is(":checked"), | ||||||
|           includeNumbers: $("#include-numbers-checkbox").is(":checked"), |           includeNumbers: $("#include-numbers-checkbox").is(":checked"), | ||||||
|           includeSpecialChars: $("#include-special-chars-checkbox").is(":checked"), |           includeSpecialChars: $("#include-special-chars-checkbox").is(":checked"), | ||||||
|         } |  | ||||||
|         }; |         }; | ||||||
|  |       } | ||||||
|       function outputGeneratedPassword() { |       function outputGeneratedPassword() { | ||||||
|         var password; |         var password; | ||||||
|         try { |         try { | ||||||
|           password = passwordGenerator.generatePassword(getOptions()); |           password = passwordGenerator.generatePassword(getOptions()); | ||||||
|         } catch (error) { |         } catch (error) { | ||||||
|           return $("#unsupported-browser-alert").show(); |           $("#unsupported-browser-alert").show(); | ||||||
|  |           return; | ||||||
|         } |         } | ||||||
|         if (password === '') { |         if (password === '') { | ||||||
|           alert("Whops. You unselected all the options. I don't know what characters you want. Click on the button entitled \"Advanced Options\" and enable some options then try again. Nice one"); |           alert("Whops. You unselected all the options. I don't know what characters you want. Click on the button entitled \"Advanced Options\" and enable some options then try again. Nice one"); | ||||||
| @@ -257,7 +258,7 @@ | |||||||
|         outputGeneratedPassword(); |         outputGeneratedPassword(); | ||||||
|         $("#generate-password-button").click(outputGeneratedPassword); |         $("#generate-password-button").click(outputGeneratedPassword); | ||||||
|       }); |       }); | ||||||
|     }()); |     })(); | ||||||
|   </script> |   </script> | ||||||
| </body> | </body> | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alex Booker
					Alex Booker