Skip to content

Commit 23807a3

Browse files
authored
changing hide map button to toggle switch
1 parent 53a26da commit 23807a3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

app/templates/components/explore/side-bar.hbs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
{{/g-map}}
55
</div>
66
{{#if device.isMobile}}
7-
<div class="ui bottom attached button" role="button" {{action 'toggleMap'}}> {{if (not isMapVisible) 'Show' 'Hide'}} Map </div>
7+
<div class="field">
8+
<div class="ui toggle checkbox">
9+
{{input type='checkbox' change=(action 'toggleMap') id = "map" checked='isChecked' }}
10+
<label for="map">
11+
{{if (not isMapVisible) 'Show' 'Hide'}} Map
12+
</label>
13+
</div>
14+
</div>
815
{{/if}}
916
<div class="item">
1017
<div class="ui input">

0 commit comments

Comments
 (0)