Skip to content

Commit

Permalink
Merge pull request #99 from scpwiki/file-upload-fix
Browse files Browse the repository at this point in the history
fix upload pane
  • Loading branch information
SYwaves authored May 12, 2024
2 parents c1a1adf + 23725d8 commit b6dbf95
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions sigma.css
Original file line number Diff line number Diff line change
Expand Up @@ -1360,4 +1360,22 @@ div#u-adult-warning > .error-block {
margin-bottom: 1em;
}

/* fix for adblocker accidentally blocking fileupload pane from displaying */

/*
Details: EasyList update 2024.05.10; adding AC_OETags.js to their blocklist
Wikidot uses AC_OETags.js to switch between the regular Ajax and the (now-defunct) Flash upload panes
Both has inline 'display: none', which is controlled by activation of AC_OETags.js
Blockers like uBlock Origin uses EasyList, resulting in accidental breakge on the wiki
Hence the CSS below
TODO: in the future, if no longer a problem, remove this fix
*/

#file-upload-box-ajax {
display: block !important;
}

/* vim: set noet: */

0 comments on commit b6dbf95

Please sign in to comment.