Added Next and Previous buttons to image view

Merged JS files
Removed Scene Type from metadata mapping
Added arrow to tool-tips
This commit is contained in:
Michał Gdula 2023-03-09 12:22:25 +00:00
parent b5bc0ec50c
commit c5f6b0ecf7
11 changed files with 386 additions and 261 deletions

View file

@ -1,4 +1,7 @@
function popUpShow(title, body, actions, content) {
// Stop scrolling
document.querySelector("html").style.overflow = "hidden";
var popup = document.querySelector('.pop-up');
var popupContent = document.querySelector('.pop-up-content');
var popupActions = document.querySelector('.pop-up-controlls');
@ -30,6 +33,9 @@ function popUpShow(title, body, actions, content) {
}
function popupDissmiss() {
// un-Stop scrolling
document.querySelector("html").style.overflow = "auto";
var popup = document.querySelector('.pop-up');
popup.classList.add('pop-up__hide');