מדיה ויקי:Gadget-validate-template-params.js: הבדלים בין גרסאות בדף
מראה
יותר פשוט |
ניסוי |
||
| שורה 1: | שורה 1: | ||
$( function() { | $( function() { | ||
$( '.paramvalidator-wrapper' ) | $( '.paramvalidator-wrapper, .error.parameters' ) | ||
.each( function() { | .each( function() { | ||
$( this ).prepend( | $( this ).prepend( | ||
גרסה מ־14:20, 22 במרץ 2016
$( function() {
$( '.paramvalidator-wrapper, .error.parameters' )
.each( function() {
$( this ).prepend(
$( '<input>', { type: 'button', value: 'סגור' } )
).click( function() {
$( this ).closest( '.paramvalidator-wrapper' )
.remove();
} );
} );
} );