Merge branch 'main' into list-embed

This commit is contained in:
Joachim
2021-12-08 16:40:15 +01:00
85 changed files with 5443 additions and 2384 deletions

View File

@ -414,6 +414,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']