mirror of https://github.com/zer0bin-dev/zer0bin
feat: 🔊 Alert user if single view
This commit is contained in:
parent
5021a3df8d
commit
d543cfc154
|
@ -152,8 +152,9 @@ function viewPaste(content: string, views: string, singleView: boolean) {
|
|||
}
|
||||
|
||||
if (singleView) {
|
||||
hide(singleViewButton.firstElementChild as HTMLElement)
|
||||
show(singleViewButton.firstElementChild as HTMLElement)
|
||||
singleViewButton.lastElementChild.classList.add("fire")
|
||||
addMessage("This is a single-view paste!")
|
||||
}
|
||||
|
||||
disable(saveButton)
|
||||
|
|
Loading…
Reference in New Issue