From 6c5d804ae050eec988a6e5b3472ad6ed0cf0dac2 Mon Sep 17 00:00:00 2001 From: cyber-dream Date: Sun, 30 Apr 2023 00:16:37 +0300 Subject: [PATCH] Add todos --- resources/wde.js | 2 ++ websiteapp/personalprops/personalprops.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/wde.js b/resources/wde.js index df0157e..3c96825 100644 --- a/resources/wde.js +++ b/resources/wde.js @@ -1,3 +1,5 @@ +//TODO Scroll to mobile desktop: https://css-tricks.com/scroll-fix-content/ + document.addEventListener('DOMContentLoaded', function() { // console.log(window.screen.width) wde = new WebDesktopEnvironment diff --git a/websiteapp/personalprops/personalprops.go b/websiteapp/personalprops/personalprops.go index 429af55..b94719c 100644 --- a/websiteapp/personalprops/personalprops.go +++ b/websiteapp/personalprops/personalprops.go @@ -149,7 +149,7 @@ func (p *PersonalPropertiesApp) Render() (gin.H, error) { headerProps := props.Data.(primitive.D).Map()["headerprops"].(primitive.D).Map() file, err := p.fs.Read(headerProps["icon"].(string)) if err != nil { - //TODO + //TODO err catch } data, err := wde.ReadImage(file)