diff options
| author | czaks <marcin@6irc.net> | 2014-01-17 00:36:59 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-01-17 00:36:59 +0100 |
| commit | ebfc80c6651c380224104d8cf3afc2dd4bd54adf (patch) | |
| tree | e7de964ec5c51d5c96751fc9f9497f4e31feaa62 /js/watch.js | |
| parent | 8e31e52a29d2247d59a83997bb5c023728ef59a7 (diff) | |
font-awesome: port watch.js and compact-boardlist.js to 3.0
Diffstat (limited to 'js/watch.js')
| -rw-r--r-- | js/watch.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/watch.js b/js/watch.js index 425bbe8f..734db040 100644 --- a/js/watch.js +++ b/js/watch.js @@ -84,7 +84,7 @@ $(function(){ var newposts = "(0)"; if (status && status[board] && status[board].threads && status[board].threads[tid]) { if (status[board].threads[tid] == -404) { - newposts = "<i class='icon icon-ban-circle'></i>"; + newposts = "<i class='fa fa-ban-circle'></i>"; } else { newposts = "("+status[board].threads[tid]+")"; @@ -97,7 +97,7 @@ $(function(){ tag.find(".watch-remove").mouseenter(function() { this.oldval = $(this).html(); $(this).css("min-width", $(this).width()); - $(this).html("<i class='icon icon-minus'></i>"); + $(this).html("<i class='fa fa-minus'></i>"); }) .mouseleave(function() { $(this).html(this.oldval); @@ -105,7 +105,7 @@ $(function(){ } else if (variant == 'mobile') { tag = $("<a href='/"+board+"/res/"+tid+".html'><span>#"+tid+"</span><span class='cb-uri'>"+newposts+"</span>" - +"<span class='cb-uri watch-remove'><i class='icon icon-minus'></i></span>"); + +"<span class='cb-uri watch-remove'><i class='fa fa-minus'></i></span>"); } tag.attr('data-thread', tid) |
