show popup for remote follow

This commit is contained in:
Hugh Rundle
2021-11-28 21:16:57 +11:00
parent 6e7d23c1ae
commit f828f36cc5
3 changed files with 19 additions and 24 deletions

View File

@ -368,4 +368,20 @@ let BookWyrm = new class {
);
}
}
/**
* Display pop up window.
*
* @param {string} url Url to open
* @param {string} windowName windowName
* @return {undefined}
*/
displayPopUp(url, windowName){
window.open(
url,
windowName,
"left=100,top=100,width=430,height=600"
)
}
}();