1
0
Fork 0

show popup for remote follow

This commit is contained in:
Hugh Rundle 2021-11-28 21:16:57 +11:00
parent 6e7d23c1ae
commit f828f36cc5
No known key found for this signature in database
GPG key ID: CD23D6039184286B
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"
)
}
}();