-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better input behavior #27
Conversation
* Added input attributes to control autocorrect and other keyboard behavior that makes typing hosts hard * Port placeholder hints default port that it will fall back to
Dude, @digitarald , 2 pull requests? You're a rockstar! Thanks so much! Let me take a look at the code real quick. |
@@ -56,6 +56,15 @@ document.addEventListener("DOMContentLoaded", function () { | |||
$advanced.style.display = "block"; | |||
} | |||
} | |||
$("secure").onchange = function () { | |||
var port = $("port"); | |||
if (port.value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of a true branch with an early return, can you just use if (!port.value)
and put everything in that?
Also, please add your name and email to the License file |
* Added input attributes to control autocorrect and other keyboard behavior that makes typing hosts hard * Port placeholder hints default port that it will fall back to
@nickdesaulniers r?