Anonymous

MediaWiki:Character-Banner.js: Difference between revisions

From Elwiki
no edit summary
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 85: Line 85:
         $('.char-banner-title').text(base_name);
         $('.char-banner-title').text(base_name);
         $('.char-banner-image').html(face(base_name.replace('/', '')));
         $('.char-banner-image').html(face(base_name.replace('/', '')));
         $(this).prev().click(function () {
         $('.char-banner').click(function () {
             window.location.href = '/w/' + base_name;
             window.location.href = '/w/' + base_name;
         });
         });