Get rid of useless alt attributes.
This commit is contained in:
parent
20ceb570e1
commit
e95035a17f
@ -110,18 +110,18 @@ Build =
|
|||||||
flag = unless flagCode
|
flag = unless flagCode
|
||||||
''
|
''
|
||||||
else if boardID is 'pol'
|
else if boardID is 'pol'
|
||||||
" <img src='#{staticPath}country/troll/#{flagCode.toLowerCase()}.gif' alt=#{flagCode} title='#{flagName}' class=countryFlag>"
|
" <img src='#{staticPath}country/troll/#{flagCode.toLowerCase()}.gif' title='#{flagName}' class=countryFlag>"
|
||||||
else
|
else
|
||||||
" <span title='#{flagName}' class='flag flag-#{flagCode.toLowerCase()}'></span>"
|
" <span title='#{flagName}' class='flag flag-#{flagCode.toLowerCase()}'></span>"
|
||||||
|
|
||||||
if file?.isDeleted
|
if file?.isDeleted
|
||||||
fileHTML = if isOP
|
fileHTML = if isOP
|
||||||
"<div class=file id=f#{postID}><span class=fileThumb>" +
|
"<div class=file id=f#{postID}><span class=fileThumb>" +
|
||||||
"<img src='#{staticPath}filedeleted#{gifIcon}' alt='File deleted.' class=fileDeleted>" +
|
"<img src='#{staticPath}filedeleted#{gifIcon}' class=fileDeleted>" +
|
||||||
"</span></div>"
|
"</span></div>"
|
||||||
else
|
else
|
||||||
"<div class=file id=f#{postID}><span class=fileThumb>" +
|
"<div class=file id=f#{postID}><span class=fileThumb>" +
|
||||||
"<img src='#{staticPath}filedeleted-res#{gifIcon}' alt='File deleted.' class=fileDeletedRes>" +
|
"<img src='#{staticPath}filedeleted-res#{gifIcon}' class=fileDeletedRes>" +
|
||||||
"</span></div>"
|
"</span></div>"
|
||||||
else if file
|
else if file
|
||||||
fileSize = $.bytesToString file.size
|
fileSize = $.bytesToString file.size
|
||||||
@ -167,11 +167,11 @@ Build =
|
|||||||
fileHTML = ''
|
fileHTML = ''
|
||||||
|
|
||||||
sticky = if isSticky
|
sticky = if isSticky
|
||||||
" <img src=#{staticPath}sticky#{gifIcon} alt=Sticky title=Sticky class=stickyIcon>"
|
" <img src=#{staticPath}sticky#{gifIcon} title=Sticky class=stickyIcon>"
|
||||||
else
|
else
|
||||||
''
|
''
|
||||||
closed = if isClosed
|
closed = if isClosed
|
||||||
" <img src=#{staticPath}closed#{gifIcon} alt=Closed title=Closed class=closedIcon>"
|
" <img src=#{staticPath}closed#{gifIcon} title=Closed class=closedIcon>"
|
||||||
else
|
else
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,6 @@ class Thread
|
|||||||
|
|
||||||
icon = $.el 'img',
|
icon = $.el 'img',
|
||||||
src: "#{Build.staticPath}#{typeLC}#{Build.gifIcon}"
|
src: "#{Build.staticPath}#{typeLC}#{Build.gifIcon}"
|
||||||
alt: type
|
|
||||||
title: type
|
title: type
|
||||||
className: "#{typeLC}Icon"
|
className: "#{typeLC}Icon"
|
||||||
root = if type is 'Closed' and @isSticky
|
root = if type is 'Closed' and @isSticky
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user