Thank You 2020: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
Line 1,045: Line 1,045:
init: function() {
init: function() {
/* Prep the form */
/* Prep the form */
var $form = $('#wmf-subscribe-form');
var form = document.getElementById('wmf-subscribe-form');

$('#wmf-subscribe-submit').click(function() {
$('#wmf-subscribe-submit').click(function() {
if ( mw.util.validateEmail( $form.Email.value ) ) {
if ( mw.util.validateEmail( form.Email.value ) ) {
wmf.subscribe.post();
wmf.subscribe.post();
$('.wmf-subscribe-ty').show();
$('.wmf-subscribe-ty').show();

Revision as of 21:01, 8 January 2020

Explore our best content

The top fifteen images from Wiki Loves Monuments contain a treasure trove of the cultural heritage we all share.

Check it out

Install the Wikipedia app

Get the Wikipedia app today for the quickest way to check a fact and get answers to your questions. Downloading is easy on your phone and only takes a minute. It’s free and ad-free.

Download it now