mirror of
https://github.com/adminkit/adminkit.git
synced 2026-03-31 19:57:44 +01:00
Remove user-agent.js
This commit is contained in:
@@ -6,7 +6,6 @@ import "./modules/theme";
|
||||
import "./modules/feather";
|
||||
import "./modules/moment";
|
||||
import "./modules/sidebar";
|
||||
import "./modules/user-agent";
|
||||
|
||||
// Forms
|
||||
import "./modules/flatpickr";
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
// Add user agent as attribute (data-user-agent) on <html> element
|
||||
|
||||
const doc = document.documentElement;
|
||||
doc.setAttribute("data-useragent", navigator.userAgent);
|
||||
Reference in New Issue
Block a user