Skip to content
This repository has been archived by the owner. It is now read-only.

Allow empty alt tags #151

Merged
merged 1 commit into from Feb 15, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/cs.js
Expand Up @@ -194,7 +194,7 @@ jQuery(document).ready(function($) {
}
$('#page img').each(function(){
alt = $(this).attr('alt')
if (alt){
if (undefined != alt){
alt = alt.toLowerCase()
//console.log('alt='+alt)
if (alt.indexOf('.jpg') >= 0 || alt.indexOf('.png') >= 0 || alt.indexOf('.gif') >= 0 ){
Expand Down