MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
m (+)
m (lolderp)
Line 552: Line 552:
var newID = 'audio-id-' + audioPlayer.idCount.toString();
var newID = 'audio-id-' + audioPlayer.idCount.toString();
audioPlayer.idCount++;
audioPlayer.idCount++;
theDiv.attr('id', 'newID');
theDiv.attr('id', newID);
theDiv.children('a').click(function() {
theDiv.children('a').click(function() {
theDiv.html('');
theDiv.html('');