Template:CorruptionsTable/doc: Difference between revisions

m
Fix copy to clipboard not working
(Created doc)
 
m (Fix copy to clipboard not working)
Line 7: Line 7:
});
});
let output = ``;results.forEach(alias => output += alias + '\n|-\n');console.log(output);
let output = ``;results.forEach(alias => output += alias + '\n|-\n');console.log(output);
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(outputString, 'text') : copy(outputString);
self.nw?.Clipboard.get().set ? self.nw?.Clipboard?.get().set(output, 'text') : copy(output);
</syntaxhighlight>
</syntaxhighlight>