add a add decription button

This commit is contained in:
Miao Xiang
2023-03-25 22:01:15 -07:00
parent a0d07fb580
commit cd4fcd2f0c
2 changed files with 20 additions and 0 deletions
+6
View File
@@ -118,6 +118,12 @@ function popup(contents){
close.title = "Close";
globalPopup.appendChild(close)
var addDescrip = document.createElement('div')
addDescrip.classList.add('global-popup-addDescrip');
addDescrip.onclick = function(){ alert("add descript you idiot") };
addDescrip.title = "add descript";
globalPopup.appendChild(addDescrip)
globalPopupInner = document.createElement('div')
globalPopupInner.onclick = function(event){ event.stopPropagation(); return false; };
globalPopupInner.classList.add('global-popup-inner');