This commit is contained in:
Nicky Case 2019-05-05 20:50:18 -04:00
parent e86e147b11
commit 0d47e79d94
3 changed files with 3 additions and 3 deletions

View File

@ -9,12 +9,12 @@ Loader.addSounds([
// Newsletter stuff // Newsletter stuff
var gdpr = $("#gdpr"); var gdpr = $("#gdpr");
var submit = $("#submit"); var submit = $("#submit");
gdpr.oninput = function(){ gdpr.onchange = function(){
var isChecked = gdpr.checked; var isChecked = gdpr.checked;
submit.disabled = !isChecked; submit.disabled = !isChecked;
submit.value = isChecked ? "Subscribe! →" : "← plz consent"; submit.value = isChecked ? "Subscribe! →" : "← plz consent";
}; };
gdpr.oninput(); gdpr.onchange();
$("#the_newsletter").setAttribute("action", "https://sendy.ncase.me/subscribe"); $("#the_newsletter").setAttribute("action", "https://sendy.ncase.me/subscribe");
// The About Button // The About Button

View File

@ -20,7 +20,7 @@ Loader.addSounds([
function BG_Intro(){ function BG_Intro(){
var ticker = 18;//0; var ticker = 0;//18;//0;
var self = this; var self = this;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 KiB

After

Width:  |  Height:  |  Size: 245 KiB