toggle-locked-threads.js: fix for awesome font

This commit is contained in:
czaks 2013-08-18 13:23:04 -04:00
parent da1b7d087e
commit c8bb96f0cf

View File

@ -40,12 +40,12 @@ $(document).ready(function(){
.click(function() {
hide_locked_threads = !hide_locked_threads;
if (hide_locked_threads) {
$('img.icon[title="Locked"]').each(function() {
$('img.icon[title="Locked"], i.icon-lock.icon').each(function() {
hideLockedThread(getThreadFromIcon($(this)));
});
localStorage.hidelockedthreads = true;
} else {
$('img.icon[title="Locked"]').each(function() {
$('img.icon[title="Locked"], i.icon-lock.icon').each(function() {
restoreLockedThread(getThreadFromIcon($(this)));
});
delete localStorage.hidelockedthreads;