ct-Open-Source / Basecamp

An Arduino library to ease the use of the ESP32 in IoT projects
GNU General Public License v3.0
254 stars 48 forks source link

Improve web UI #67

Closed FloEdelmann closed 5 years ago

FloEdelmann commented 5 years ago

Previously, a new <title> tag containing the device name was just appended to <head> instead of overwriting the existing one.

Now, if an element with the given ID already exists in the document, its contents and attributes are overwritten and it is moved to the specified parent.

Additionally, some other improvements (rather fixes):