dever 7 years ago
parent
commit
a7b19ca9b0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tm/template_dir/bottom.html

+ 2 - 2
tm/template_dir/bottom.html

@@ -51,14 +51,14 @@ function share_button(e, title, url, img, content) {
     var isAndroid = /android/i.test(u);
     isApple = true
     if (isApple || isAndroid) {
-        e.show();
+        e.parent().show();
         e.click(function()
         {
             WX_share(url, content, title, img);
         })
         
     } else {
-        e.hide();
+        e.parent().hide();
     }
 }