mirror of
https://github.com/modrinth/code.git
synced 2026-08-27 10:04:52 +00:00
feat: implement custom notification and popup components (#6768)
* feat: implement custom popup * feat: add privacy setting * style fixes * more style fixes * feat: implement notification panel changes and better popup in website * feat: update popup button * fix: remove unnecessary modal props * fixes * pnpm prepr * remove devtools opening * update query to find buttons * update copy * update copy * fix: manage permissions depends on showAds booleans instead of managemetn availability
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
;(function () {
|
||||
document.documentElement.classList.add('modrinth-cmp-summary-hidden')
|
||||
|
||||
var host = 'modrinth.com'
|
||||
// var host = window.location.hostname;
|
||||
var element = document.createElement('script')
|
||||
@@ -132,6 +134,7 @@
|
||||
}
|
||||
|
||||
makeStub()
|
||||
window.dispatchEvent(new Event('modrinth-cmp-ready'))
|
||||
|
||||
var uspStubFunction = function () {
|
||||
var arg = arguments
|
||||
|
||||
Reference in New Issue
Block a user