mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Replace some gt- classes with tw- (#29570)
				
					
				
			Replace 18 `gt-` prefixes with `tw-` with perl replacement. I manually checked them all with `rg` afterwards.
This commit is contained in:
		@@ -17,7 +17,7 @@ export function initGiteaFomantic() {
 | 
			
		||||
  // By default, use "exact match" for full text search
 | 
			
		||||
  $.fn.dropdown.settings.fullTextSearch = 'exact';
 | 
			
		||||
  // Do not use "cursor: pointer" for dropdown labels
 | 
			
		||||
  $.fn.dropdown.settings.className.label += ' gt-cursor-default';
 | 
			
		||||
  $.fn.dropdown.settings.className.label += ' tw-cursor-default';
 | 
			
		||||
  // Always use Gitea's SVG icons
 | 
			
		||||
  $.fn.dropdown.settings.templates.label = function(_value, text, preserveHTML, className) {
 | 
			
		||||
    const escape = $.fn.dropdown.settings.templates.escape;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user