mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 17:24:22 +00:00 
			
		
		
		
	Fix JS and Vue (#10328)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		@@ -1,5 +1,3 @@
 | 
			
		||||
const { StaticUrlPrefix } = window.config;
 | 
			
		||||
 | 
			
		||||
export function svg(name, size) {
 | 
			
		||||
  return `<svg class="svg ${name}" width="${size}" height="${size}" aria-hidden="true"><use xlink:href="${StaticUrlPrefix}/img/svg/icons.svg#${name}"/></svg>`;
 | 
			
		||||
  return `<svg class="svg ${name}" width="${size}" height="${size}" aria-hidden="true"><use xlink:href="#${name}"/></svg>`;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user