mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-20 00:15:34 +00:00
Spelling-fixes and selectable
This commit is contained in:
@@ -93,6 +93,8 @@ body {
|
||||
|
||||
.token-container {
|
||||
padding-top: 64px;
|
||||
word-wrap: break-word;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.token-form {
|
||||
@@ -3557,3 +3559,10 @@ input:not([type]):focus:not([readonly])+label, input[type=text]:not(.browser-def
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-moz-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
.select-all {
|
||||
-webkit-user-select: all !important; /* Chrome 49+ */
|
||||
-moz-user-select: all !important; /* Firefox 43+ */
|
||||
-ms-user-select: all !important; /* No support yet */
|
||||
user-select: all !important; /* Likely future */
|
||||
}
|
||||
|
||||
@@ -7,6 +7,10 @@ $(document).ready(function() {
|
||||
$("#contact-container").html("Send a mail to us: <a title='Open in client' href='mailto:contact@zoff.me?Subject=Contact%20Zoff'>contact@zoff.me</a>");
|
||||
$("#submit-contact-form").hide();
|
||||
|
||||
if(!Helper.mobilecheck()) {
|
||||
$("#iframe-container").append('<iframe id="iframe" src="https://zoff.me/_embed#celebrate&808080" width="600px" height="300px"></iframe>');
|
||||
}
|
||||
|
||||
$(".token-form").on("submit", function(e) {
|
||||
e.preventDefault();
|
||||
var email = $("#email_address").val();
|
||||
@@ -26,8 +30,9 @@ $(document).ready(function() {
|
||||
if(response == "success") {
|
||||
Materialize.toast("Email sent!", 3000, "green lighten");
|
||||
} else {
|
||||
$("#email_address").attr("readonly", true);
|
||||
$("#email_address").attr("readonly", false);
|
||||
$(".submit").toggleClass("disabled");
|
||||
grecaptcha.reset();
|
||||
Materialize.toast("Something went wrong. Sure that email hasn't been used for another token?", 3000, "red lighten");
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user