dever hace 7 años
padre
commit
55903d35fa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      assets/js/dever.js

+ 1 - 1
assets/js/dever.js

@@ -938,7 +938,7 @@ var _Dever_Share =
         var project = this.project;
         var uid = this.uid;
         var wechat = this.wechat;
-        var ua = encodeURIComponent(ua);
+        var ua = encodeURIComponent(navigator.userAgent);
         var url = encodeURIComponent(document.location.href);
         $.getJSON(this.url + 'collect?callback=?' + '&project='+project+'&url=' + url + '&actType=' + actType + '&actResult=' + actResult + '&ua=' + ua + '&uid=' + uid + '&type=' + wechat);
     }