Make CSS class names for link icons lowercase.

This commit is contained in:
ccd0 2015-02-15 13:36:33 -08:00
parent f76f9e7bf2
commit 6e9362ca76
2 changed files with 4 additions and 3 deletions

View File

@ -1517,8 +1517,9 @@ div.boardTitle {
}
/* Link Title Favicons */
<%=
'YouTube Vimeo SoundCloud audio LiveLeak Vocaroo pastebin gist image InstallGentoo video gfycat'.split(' ').map(function(key) {
var data = grunt.file.read('src/General/img/links/' + key.toLowerCase() + '.png', {encoding: 'base64'});
grunt.file.expand('src/General/img/links/*.png').map(function(file) {
var key = file.match(/(\w+)\.png/)[1];
var data = grunt.file.read(file, {encoding: 'base64'});
return ".linkify."+key+" {\n" +
" background: transparent url('data:image/png;base64,"+data+"') center left no-repeat!important;\n" +
" padding-left: 18px;\n" +

View File

@ -49,7 +49,7 @@ Embedding =
embed.dataset[name] = value for name, value of {key, uid, options}
$.addClass link, "#{embed.dataset.key}"
$.addClass link, key.toLowerCase()
$.on embed, 'click', Embedding.cb.toggle
$.after link, [$.tn(' '), embed]