Skip to content

Commit 90eaf33

Browse files
committed
separate header and app name overwrites
1 parent 5323d62 commit 90eaf33

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

_includes/appstoreimages.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838

3939
// Set app name using the iOS app ID if it is not set manually in _config.yml
4040
var $appName = $(".appName");
41-
var $headerName = $(".headerName");
4241
if ($.trim($($appName).text()).length == 0) {
4342
$($appName).html(appInfo.trackName);
43+
}
44+
45+
// Set the name displayed in the header if it is not set manually in _config.yml
46+
var $headerName = $(".headerName");
47+
if ($.trim($($headerName).text()).length == 0) {
4448
$($headerName).html(appInfo.trackName);
4549
}
4650

0 commit comments

Comments
 (0)