mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-08-06 09:39:44 +08:00
Frontend refactor, PascalCase to camelCase, remove unused code (#17365)
* Frontend refactor, PascalCase to camelCase, remove unused code * fix
This commit is contained in:
integrations
modules/context
routers/web/repo
templates
web_src/js
components
features
admin-common.jscommon-global.js
comp
emoji.jsissue-content-history.jslastcommitloader.jsnotification.jsorg-team.jsprojects.jsrepo-common.jsrepo-diff.jsrepo-editor.jsrepo-home.jsrepo-issue.jsrepo-legacy.jsrepo-migrate.jsrepo-settings.jsrepo-template.jsrepo-wiki.jsserviceworker.jsstopwatch.jstribute.jsuser-auth-u2f.jsmarkup
publicpath.js@ -1,4 +1,4 @@
|
||||
const {csrf} = window.config;
|
||||
const {csrfToken} = window.config;
|
||||
|
||||
export function initCompReactionSelector(parent) {
|
||||
let reactions = '';
|
||||
@ -20,7 +20,7 @@ export function initCompReactionSelector(parent) {
|
||||
type: 'POST',
|
||||
url,
|
||||
data: {
|
||||
_csrf: csrf,
|
||||
_csrf: csrfToken,
|
||||
content: $(this).data('content')
|
||||
}
|
||||
}).done((resp) => {
|
||||
|
Reference in New Issue
Block a user