Widget:Copy: Difference between revisions
c |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
} | } | ||
</script> | </script> | ||
<button type="button" <!--{if $style == 'button'} class="mw-ui-button mw-ui-progressive" {else} style="text-decoration:none;color:#0645ad;background:none;padding:0;" {/if}--> onclick="copy('<!--{$text|escape:'html'}-->')"><!--{$buttontext|escape:'html'}--></button> | <button type="button" <!--{if $style == 'button'}--> class="mw-ui-button mw-ui-progressive" <!--{else}--> style="text-decoration:none;color:#0645ad;background:none;padding:0;border:none;" <!--{/if}--> onclick="copy('<!--{$text|escape:'html'}-->')"><!--{$buttontext|escape:'html'}--></button> |