File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 44
44
$ ( $appPrice ) . html ( appInfo . formattedPrice ) ;
45
45
}
46
46
47
- // Set price using the iOS app ID if it is not set manually in _config.yml
48
- var $appStoreLink = $ ( ".appStoreLink" ) ;
49
- if ( $ . trim ( $ ( $ appStoreLink) . text ( ) ) . length == 0 ) {
47
+ // Set App Store link using the iOS app ID if it is not set manually in _config.yml
48
+ var $appStoreLink = $ ( ".appStoreLink" ) . attr ( 'href' ) ;
49
+ if ( $ . trim ( $appStoreLink ) . length == 0 ) {
50
50
$ ( $appStoreLink ) . attr ( "href" , appInfo . trackViewUrl ) ;
51
51
}
52
52
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ <h2 class="appPrice">
52
52
</ div >
53
53
< div class ="downloadButtonsContainer ">
54
54
{% if site.playstore_link %}
55
- < a class ="playStoreLink " href =""> < img class ="playStore " src ="assets/playstore.png "> </ a >
55
+ < a class ="playStoreLink " href ="{{site.playstore_link}} "> < img class ="playStore " src ="assets/playstore.png "> </ a >
56
56
{% endif %}
57
- < a class ="appStoreLink " href =""> < img class ="appStore " src ="assets/appstore.png "> </ a >
57
+ < a class ="appStoreLink " href ="{{site.appstore_link}} "> < img class ="appStore " src ="assets/appstore.png "> </ a >
58
58
</ div >
59
59
</ div >
60
60
{% include features.html %}
You can’t perform that action at this time.
0 commit comments