Showing
2 changed files
with
2 additions
and
2 deletions
@@ -20,7 +20,7 @@ if ($('.share-buy-page').height() < $(window).height()) { | @@ -20,7 +20,7 @@ if ($('.share-buy-page').height() < $(window).height()) { | ||
20 | } | 20 | } |
21 | 21 | ||
22 | if (yoho.isApp) { | 22 | if (yoho.isApp) { |
23 | - yoho.invokeMethod('set.shareInfo', shareData); | 23 | + yoho.ready(yoho.invokeMethod('set.shareInfo', shareData)); |
24 | } | 24 | } |
25 | 25 | ||
26 | function Marquee() { | 26 | function Marquee() { |
@@ -37,7 +37,7 @@ require('common/share')(shareData); | @@ -37,7 +37,7 @@ require('common/share')(shareData); | ||
37 | require('common'); | 37 | require('common'); |
38 | 38 | ||
39 | if (yoho.isApp) { | 39 | if (yoho.isApp) { |
40 | - yoho.invokeMethod('set.shareInfo', shareData); | 40 | + yoho.ready(yoho.invokeMethod('set.shareInfo', shareData)); |
41 | } | 41 | } |
42 | 42 | ||
43 | appVersion = window.queryString.app_version; | 43 | appVersion = window.queryString.app_version; |
-
Please register or login to post a comment