1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 08:05:20 +01:00
gitea/web_src
CommanderRoot 1ab88da0e4
Replace deprecated String.prototype.substr() with String.prototype.slice() (#18796)
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with the slice() method which works similarily but isn't deprecated.

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-02-18 14:50:36 +08:00
..
fomantic
js Replace deprecated String.prototype.substr() with String.prototype.slice() (#18796) 2022-02-18 14:50:36 +08:00
less
svg