Skip to content
Snippets Groups Projects

Fix clicking disabled clipboard button toolip

Merged Luke "Jared" Bennett requested to merge disable-clicking-disabled-clipboard-button into master
All threads resolved!
Files
2
@@ -50,9 +50,9 @@ export default class BlobViewer {
if (this.copySourceBtn) {
this.copySourceBtn.addEventListener('click', () => {
if (this.copySourceBtn.classList.contains('disabled')) return;
if (this.copySourceBtn.classList.contains('disabled')) return this.copySourceBtn.blur();
this.switchToViewer('simple');
return this.switchToViewer('simple');
});
}
}
Loading