MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 19: Line 19:


             // Update the fixed column content with card information
             // Update the fixed column content with card information
            var entryNumber = $(this).find('.entry-number').text();
             var title = $(this).find('.title').text();
             var title = $(this).find('.title').text();
             var people = $(this).find('.people').text();
             var people = $(this).find('.people').text();


             $('#article-title').text(title);
             $('#article-title').text('[' + entryNumber + '] ' + title);
             $('#article-content').html('<p>People: ' + people + '</p>');
             $('#article-content').html('<p>People: ' + people + '</p>');
         });
         });

Navigation menu