From b0c049427be34624c1d1f9e510a9d659127e9202 Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Thu, 14 Oct 2021 10:51:37 +0800 Subject: [PATCH] fix typo --- docs/content/doc/developers/guidelines-frontend.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/doc/developers/guidelines-frontend.md b/docs/content/doc/developers/guidelines-frontend.md index a7881c1bd1..300f02b0e0 100644 --- a/docs/content/doc/developers/guidelines-frontend.md +++ b/docs/content/doc/developers/guidelines-frontend.md @@ -31,7 +31,7 @@ We recommend [Google HTML/CSS Style Guide](https://google.github.io/styleguide/h Guidelines specialized for Gitea: -1. Every feature (Fomantic-UI/jQuery module) should be put in separate files/ directories. +1. Every feature (Fomantic-UI/jQuery module) should be put in separate files/directories. 2. HTML ids and classes should use kebab-case. 3. HTML ids and classes used in JavaScript should be unique for the whole project, and should contain 2-3 feature related keywords. We recommend to use the `js-` prefix for classes that are only used in JavaScript. 4. jQuery events across different features should use their own namespaces. -- 2.39.5