yuliang пре 5 година
родитељ
комит
3f602a18f2
2 измењених фајлова са 6 додато и 0 уклоњено
  1. 3 0
      whepi-ui/templates/home/ribao.js
  2. 3 0
      whepi-ui/templates/lingyun/ribao.js

+ 3 - 0
whepi-ui/templates/home/ribao.js

@@ -1389,6 +1389,9 @@ function updateSuspected(suspectedId) {
 
 
 function addReport() {
+  if (document.getElementById("btn_shangbao").style['background-color'] == "#D9D9D9") {
+    return;
+  }
   var userId = $("#userId").val();
   $.ajax({
     url: '/home/addReport',

+ 3 - 0
whepi-ui/templates/lingyun/ribao.js

@@ -1137,6 +1137,9 @@ function updateSuspected(suspectedId) {
 
 
 function addReport() {
+    if (document.getElementById("btn_shangbao").style['background-color'] == "#D9D9D9") {
+        return;
+    }
     var userId = $("#userId").val();
     $.ajax({
         url: '/home/addReport',