MediaWiki:Resources/landingpage.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
use $.param() to avoid &s |
fixes... |
||
Line 21: | Line 21: | ||
if ( now < outages[i]['end'] ) { |
if ( now < outages[i]['end'] ) { |
||
if ( outages[i]['country'] ) { |
if ( (typeof outages[i]['country'] === 'undefined') || (outages[i]['country'] == country) ) { |
||
$('.paymentmethod-' + outages[i]['method']).hide(); |
|||
$('.paymentmethod-' + outages[i]['method']).hide(); |
|||
} |
|||
} |
} |
||
Line 31: | Line 29: | ||
} |
} |
||
} |
} |
||
⚫ | |||
⚫ | |||
⚫ | |||
$(document).ready(function(){ |
$(document).ready(function(){ |
||
⚫ | |||
⚫ | |||
⚫ | |||
// Disable submitting form with return key |
// Disable submitting form with return key |