Merge pull request #1635 from hughrun/remote-follow

Remote follow
This commit is contained in:
Mouse Reeve
2021-12-06 14:36:21 -08:00
committed by GitHub
15 changed files with 487 additions and 5 deletions

View File

@ -411,6 +411,21 @@ 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"
);
}
duplicateInput (event ) {
const trigger = event.currentTarget;
const input_id = trigger.dataset['duplicate']