Skip to content

Commit

Permalink
Apply Jets handling for desktop and mobile (2factorauth#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSGS authored and Carlgo11 committed Jan 31, 2017
1 parent c16114a commit ef05874
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions _includes/desktop-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<img src="/img/placeholder.png" data-src="/img/{{ section_id }}/{{ website.img }}" class="icon"
alt="{{ website.name }}">
{% endif %}
<a class="title-name" href="{{ website.url }}">{{ website.name }}</a>
<a class="name" href="{{ website.url }}">{{ website.name }}</a>
{% include exception.html website=website %}
</div>
<div class="progress-info">
Expand All @@ -54,7 +54,7 @@
<img src="/img/placeholder.png" data-src="/img/{{ section_id }}/{{ website.img }}" class="icon"
alt="{{ website.name }}">
{% endif %}
<a class="title-name" href="{{ website.url }}">{{ website.name }}</a>
<a class="name" href="{{ website.url }}">{{ website.name }}</a>
{% include exception.html website=website %}
</div>
</td>
Expand Down Expand Up @@ -102,7 +102,7 @@
<img src="/img/placeholder.png" data-src="/img/{{ section_id }}/{{ website.img }}" class="icon"
alt="{{ website.name }}">
{% endif %}
<a class="title-name" href="{{ website.url }}">{{ website.name }}</a>
<a class="name" href="{{ website.url }}">{{ website.name }}</a>
{% include exception.html website=website %}
</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion css/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ input[type=search] {
-ms-flex-align: center;
align-items: center;

a.title-name {
.name {
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ var jets = new Jets({
isSearching = true;
}
},
manualContentHandling: function(tr) {
return $(tr).find('td:first a').text();
manualContentHandling: function(tag) {
return $(tag).find('.title > a.name').text();
}
});

Expand Down

0 comments on commit ef05874

Please sign in to comment.