dever 7 years ago
parent
commit
55903d35fa
1 changed files with 1 additions and 1 deletions
  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);
     }