mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Forbid variables containing jQuery collections not having the $ prefix (#29839)
				
					
				
			See https://github.com/wikimedia/eslint-plugin-no-jquery/blob/master/docs/rules/variable-pattern.md --------- Signed-off-by: Yarden Shoham <git@yardenshoham.com> Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		@@ -63,10 +63,10 @@ export function initRepoGraphGit() {
 | 
			
		||||
    (async () => {
 | 
			
		||||
      const response = await GET(String(ajaxUrl));
 | 
			
		||||
      const html = await response.text();
 | 
			
		||||
      const div = $(html);
 | 
			
		||||
      $('#pagination').html(div.find('#pagination').html());
 | 
			
		||||
      $('#rel-container').html(div.find('#rel-container').html());
 | 
			
		||||
      $('#rev-container').html(div.find('#rev-container').html());
 | 
			
		||||
      const $div = $(html);
 | 
			
		||||
      $('#pagination').html($div.find('#pagination').html());
 | 
			
		||||
      $('#rel-container').html($div.find('#rel-container').html());
 | 
			
		||||
      $('#rev-container').html($div.find('#rev-container').html());
 | 
			
		||||
      $('#loading-indicator').addClass('gt-hidden');
 | 
			
		||||
      $('#rel-container').removeClass('gt-hidden');
 | 
			
		||||
      $('#rev-container').removeClass('gt-hidden');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user