瀏覽代碼

add loading icon to nzbget stop and pause

CauseFX 4 年之前
父節點
當前提交
446ae18274
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      js/custom.js
  2. 0 0
      js/custom.min.js

+ 2 - 1
js/custom.js

@@ -1374,7 +1374,8 @@ $(document).on("click", ".metadata-get", function(e) {
 });
 // sab play/resume
 $(document).on("click", ".downloader", function(e) {
-    let action = $(this).attr('data-action');
+	$(this).find('i').attr('class', 'fa fa-spin fa-circle-o-notch');
+	let action = $(this).attr('data-action');
 	let source = $(this).attr('data-source');
 	let target = $(this).attr('data-target');
 	let api = null;

File diff suppressed because it is too large
+ 0 - 0
js/custom.min.js


Some files were not shown because too many files changed in this diff