Difference between revisions of "MediaWiki:Common.js"

m
test
m (test)
m (test)
Line 6: Line 6:
$(function() {
$(function() {
$(document).on("click", ".copy-to-clipboard-button", function() {
$(document).on("click", ".copy-to-clipboard-button", function() {
     var clipboard = new Clipboard(".copy-to-clipboard-button");  
     var clipboard = new ClipboardJS(".copy-to-clipboard-button");  
     clipboard.destroy();
     clipboard.destroy();
   });
   });
});
});