Skip to content

Commit

Permalink
close icons in settings and thread watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
saxamaphone69 committed Aug 11, 2019
1 parent e86c2d2 commit 079d1a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/General/Settings/Settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a href="<%= meta.page %>" target="_blank"><%= meta.name %></a>&nbsp|&nbsp
<a href="<%= meta.changelog %>" target="_blank">${g.VERSION}</a>&nbsp|&nbsp
<a href="<%= meta.issues %>" target="_blank">Issues</a>&nbsp|&nbsp
<a href="javascript:;" class="close fa fa-times" title="Close"></a>
<a href="javascript:;" class="close fourchan-x--icon" title="Close">&{Icons.close}</a>
</div>
</nav>
<div class="section-container"><section></section></div>
Expand Down
3 changes: 2 additions & 1 deletion src/Monitoring/ThreadWatcher.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,9 @@ ThreadWatcher =

makeLine: (siteID, boardID, threadID, data) ->
x = $.el 'a',
className: 'fa fa-times'
className: 'fourchan-x--icon'
href: 'javascript:;'
$.extend x, `<%= html('&{Icons.close}') %>`
$.on x, 'click', ThreadWatcher.cb.rm

{excerpt} = data
Expand Down

0 comments on commit 079d1a5

Please sign in to comment.