Skip to content
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

Closed
wants to merge 10 commits into from

Conversation

digitarald
Copy link

  • 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?

* 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
Copy link
Owner

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) {
Copy link
Owner

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?

@nickdesaulniers
Copy link
Owner

Also, please add your name and email to the License file

@nickdesaulniers
Copy link
Owner

history too messed up, closed in favor of #47 and #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants