fix search
This commit is contained in:
parent
c1b73de746
commit
f63dddb89c
4 changed files with 13 additions and 13 deletions
|
@ -213,18 +213,18 @@ class App.Navigation extends App.Controller
|
|||
)
|
||||
|
||||
# remove search result
|
||||
@$('#global-search').bind( 'focusout', (e) =>
|
||||
@delay(
|
||||
=>
|
||||
@$('.search').removeClass('focused')
|
||||
# @$('#global-search').bind( 'focusout', (e) =>
|
||||
# @delay(
|
||||
# =>
|
||||
# @$('.search').removeClass('focused')
|
||||
|
||||
# remove not needed popovers
|
||||
$('.popover').remove()
|
||||
# # remove not needed popovers
|
||||
# $('.popover').remove()
|
||||
|
||||
@renderResult()
|
||||
320
|
||||
)
|
||||
)
|
||||
# @renderResult()
|
||||
# 320
|
||||
# )
|
||||
# )
|
||||
|
||||
# prevent submit of search box
|
||||
@$('form.search').bind( 'submit', (e) =>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<% for item in area.result: %>
|
||||
<li>
|
||||
<a href="<%- item.url %>" class="nav-tab nav-tab--search <%= item.class %>" data-id="<%= item.id %>">
|
||||
<svg class="nav-tab-icon tab-icon--search"><use xlink:href="#icon-<%= item.iconClass %>" /></svg>
|
||||
<svg class="nav-tab-icon priority-icon icon-<%= item.iconClass %>"><use xlink:href="#icon-<%= item.iconClass %>" /></svg>
|
||||
<span class="nav-tab-name flex u-textTruncate"><%= item.display %></span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
@ -6,7 +6,7 @@
|
|||
<defs></defs>
|
||||
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
|
||||
<g id="priority" sketch:type="MSArtboardGroup" fill="#50E3C2">
|
||||
<path d="M8,14 C11.3137085,14 14,11.3137085 14,8 C14,4.6862915 11.3137085,2 8,2 C4.6862915,2 2,4.6862915 2,8 C2,11.3137085 4.6862915,14 8,14 Z M8,12 C10.209139,12 12,10.209139 12,8 C12,5.790861 10.209139,4 8,4 C5.790861,4 4,5.790861 4,8 C4,10.209139 5.790861,12 8,12 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>
|
||||
<path d="M8.00000001,13.5 C11.0375661,13.5 13.5,11.0375661 13.5,8.00000001 C13.5,4.96243388 11.0375661,2.50000001 8.00000001,2.50000001 C4.96243388,2.50000001 2.50000001,4.96243388 2.50000001,8.00000001 C2.50000001,11.0375661 4.96243388,13.5 8.00000001,13.5 Z M8.00000001,11.0833333 C9.70287799,11.0833333 11.0833333,9.70287799 11.0833333,8.00000001 C11.0833333,6.29712203 9.70287799,4.91666667 8.00000001,4.91666667 C6.29712203,4.91666667 4.91666667,6.29712203 4.91666667,8.00000001 C4.91666667,9.70287799 6.29712203,11.0833333 8.00000001,11.0833333 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 1.2 KiB |
Loading…
Reference in a new issue