Skip to content

Commit ecf05a1

Browse files
committed
hide subtitle
1 parent 7f296e5 commit ecf05a1

6 files changed

Lines changed: 9 additions & 5 deletions

File tree

‎cache.manifest‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# Build: 20170523104217
2+
# Build: 20170601114303
33

44
CACHE:
55
resources/fonts/Dressedless_Three.svg

‎index.html‎

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

‎static/app/html/main.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ <h5><span class="label label-primary">real-world usage</span> <span class="label
2727
</div>
2828
</div>
2929
<form action="javascript:void(0);">
30-
<input type="search" name="search" class="form-control" placeholder="football 足球">
30+
<input type="search" name="search" class="form-control" placeholder="apple 苹果">
3131
</form>
3232
<span class="input-group-btn">
3333
<button class="btn btn-secondary search" type="button" data-toggle="tooltip" data-placement="left" data-trigger="manual" title="Click here to show more">

‎static/app/src/AppBundle.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
body: $('body'),
6464

6565
title: $('.main-title>header h1'),
66+
subTitle: $('.main-title h5'),
6667
searchForm: $('.search-form'),
6768
searchInput: $('.search-form input'),
6869
searchBtn: $('.search-form button.search'),
@@ -398,6 +399,7 @@
398399
renderTitle();
399400
renderDonate();
400401
renderBaiduShare();
402+
els.subTitle.hide();
401403
}
402404

403405
function renderSearchBtn(str) {

‎static/app/src/view/View.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ var els = {
77
body: $('body'),
88

99
title: $('.main-title>header h1'),
10+
subTitle: $('.main-title h5'),
1011
searchForm: $('.search-form'),
1112
searchInput: $('.search-form input'),
1213
searchBtn: $('.search-form button.search'),
@@ -342,6 +343,7 @@ function renderSearchResult(data) {
342343
renderTitle();
343344
renderDonate();
344345
renderBaiduShare();
346+
els.subTitle.hide();
345347
}
346348

347349
function renderSearchBtn(str) {

‎sw.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ self.addEventListener('install', function(event) {
66
// long install takes, and if it failed
77
event.waitUntil(
88
// We open a cache…
9-
caches.open('20170523104217').then(function(cache) {
9+
caches.open('20170601114303').then(function(cache) {
1010
// And add resources to it
1111
return cache.addAll(["./",
1212
"resources/fonts/Dressedless_Three.svg",

0 commit comments

Comments
 (0)