• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 352: Line 352:  
var source = $('<source>').attr('type', 'video/' + ext);
 
var source = $('<source>').attr('type', 'video/' + ext);
 
for (var attr in $(this).data()) {
 
for (var attr in $(this).data()) {
;(attr === 'src' || attr === 'type' ? source : video).attr(attr, (attr === 'src' ? 'https://en.kancollewiki.net/Special:Filepath/' : '') + $(this).data(attr));
+
var el = attr === 'src' || attr === 'type' ? source : video;
 +
el.attr(attr, (attr === 'src' ? 'https://en.kancollewiki.net/Special:Filepath/' : '') + $(this).data(attr));
 
}
 
}
 
video.append(source);
 
video.append(source);
cssedit, gkautomate
7,064

edits

Navigation menu