Disable some features in Behave to sort of fix undo

This commit is contained in:
2020-10-19 23:05:30 +02:00
parent db1ca7e601
commit 65299d825c
3 changed files with 7 additions and 40 deletions

View File

@@ -63,6 +63,6 @@ See our subscription plans on Patreon
</div>
{{end}}
After ordering I will add the subscription to your pixeldrain account. This can
take a few hours depending on how busy I am at that moment. This part will soon
be automated.
After ordering you will receive an e-mail with a link to activate your
subscription. The subscription will be linked to the pixeldrain account you're
currently loggin into.

View File

@@ -1,37 +0,0 @@
{{define "patreon_confirm"}}<!DOCTYPE html>
<html lang="en">
<head>
{{template "meta_tags" "E-mail verification"}}
{{template "user_style" .}}
</head>
<body>
{{template "page_top" .}}
<div class="page_content">
<div class="limit_width">
{{if eq .Other "success"}}
<h1>Success!</h1>
<p>
Your account's e-mail address has been updated.
</p>
{{else if eq .Other "not_found"}}
<h1>E-mail change failed</h1>
<p>
This e-mail change request does not exist or has expired.
Please try again if you still want to change your e-mail
address.
</p>
{{else}}
<h1>Error</h1>
<p>
Something went wrong while processing this request. Please
try again later.
</p>
{{end}}
</div>
</div>
{{template "page_bottom" .}}
{{template "analytics"}}
</body>
</html>
{{end}}

View File

@@ -95,6 +95,10 @@
let editor = new Behave({
textarea: document.getElementById("textarea"),
autoStrip: false,
autoOpen: false,
overwrite: false,
autoIndent: false,
replaceTab: true,
softTabs: false,
tabSize: 8