forgejo/web_src/js
Hester Gong a2f44463f0
Fix adding of empty class name (#23352)
This PR is to fix the error shown below. The reason is because
[`class-name`
prop](https://github.com/go-gitea/gitea/blob/main/web_src/js/components/ActionRunStatus.vue#L6)
given to `svg` component has a space, and classList cannot add empty
string.

https://user-images.githubusercontent.com/17645053/223346720-c7f9de43-5e69-4ecf-93c0-90bf04090693.mov

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-03-07 23:08:22 +08:00
..
components Add ActionRunStatus component (#23259) 2023-03-06 22:35:24 +08:00
features Fix various ImageDiff/SVG bugs (#23312) 2023-03-07 20:11:24 +08:00
markup update to mermaid v10 (#23178) 2023-03-04 00:39:07 -05:00
modules
standalone
test
utils Fix the show/hide methods for string selector (#23042) 2023-02-21 11:09:03 -06:00
webcomponents Add document for webcomponents (#23261) 2023-03-03 17:45:19 +08:00
bootstrap.js
index.js
jquery.js
serviceworker.js
svg.js Fix adding of empty class name (#23352) 2023-03-07 23:08:22 +08:00
svg.test.js
utils.js Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
utils.test.js