forked from MapComplete/MapComplete
Full code cleanup
This commit is contained in:
parent
3a4a2a2016
commit
fa971ffbbf
300 changed files with 16352 additions and 19284 deletions
|
@ -43,7 +43,7 @@ export default class ScrollableFullScreen extends UIElement {
|
|||
|
||||
const self = this;
|
||||
Hash.hash.addCallback(h => {
|
||||
if(h === undefined){
|
||||
if (h === undefined) {
|
||||
isShown.setData(false)
|
||||
}
|
||||
})
|
||||
|
@ -55,18 +55,17 @@ export default class ScrollableFullScreen extends UIElement {
|
|||
self.Activate();
|
||||
} else {
|
||||
// Some cleanup...
|
||||
|
||||
|
||||
const fs = document.getElementById("fullscreen");
|
||||
if(fs !== null){
|
||||
if (fs !== null) {
|
||||
ScrollableFullScreen.empty.AttachTo("fullscreen")
|
||||
fs.classList.add("hidden")
|
||||
}
|
||||
|
||||
|
||||
ScrollableFullScreen._currentlyOpen?.isShown?.setData(false);
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue