From e95035a17fa0c0ca04d349d59cc3fb3950ecf56c Mon Sep 17 00:00:00 2001 From: Mayhem Date: Wed, 29 Jan 2014 15:38:20 +0100 Subject: [PATCH] Get rid of useless alt attributes. --- src/General/Build.coffee | 10 +++++----- src/General/Thread.coffee | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/General/Build.coffee b/src/General/Build.coffee index f5d81b137..1a3efa7ed 100644 --- a/src/General/Build.coffee +++ b/src/General/Build.coffee @@ -110,18 +110,18 @@ Build = flag = unless flagCode '' else if boardID is 'pol' - " #{flagCode}" + " " else " " if file?.isDeleted fileHTML = if isOP "
" + - "File deleted." + + "" + "
" else "
" + - "File deleted." + + "" + "
" else if file fileSize = $.bytesToString file.size @@ -167,11 +167,11 @@ Build = fileHTML = '' sticky = if isSticky - " Sticky" + " " else '' closed = if isClosed - " Closed" + " " else '' diff --git a/src/General/Thread.coffee b/src/General/Thread.coffee index 8037f09d2..81acfc439 100644 --- a/src/General/Thread.coffee +++ b/src/General/Thread.coffee @@ -38,7 +38,6 @@ class Thread icon = $.el 'img', src: "#{Build.staticPath}#{typeLC}#{Build.gifIcon}" - alt: type title: type className: "#{typeLC}Icon" root = if type is 'Closed' and @isSticky