show popup for remote follow
This commit is contained in:
parent
6e7d23c1ae
commit
f828f36cc5
3 changed files with 19 additions and 24 deletions
|
@ -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"
|
||||
)
|
||||
}
|
||||
}();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue