Fix two typos + one js integer casting

Change-Id: Ie5c4c39e94e5531dbfa48e8cde7b608967cec0c8
This commit is contained in:
bsitu 2013-07-02 10:37:31 -07:00
parent f9a5cc717f
commit 8817b53fe9
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ class EchoUserRightsFormatter extends EchoBasicFormatter {
// Set up link parameters based on the destination (or pass to parent)
switch ( $destination ) {
case 'user-rights-list':
$target = SpeicalPage::getTitleFor( 'ListsGroupRights' );
$target = SpecialPage::getTitleFor( 'ListGroupRights' );
break;
default:
return parent::getLinkParams( $event, $user, $destination );

View file

@ -86,7 +86,7 @@
$li.click( function() {
if ( mw.echo.clickThroughEnabled ) {
// Log the clickthrough
mw.echo.logInteraction( 'notification-link-click', 'flyout', data.id, data.type );
mw.echo.logInteraction( 'notification-link-click', 'flyout', +data.id, data.type );
}
window.location.href = $li.find( '.mw-echo-notification-primary-link' ).attr( 'href' );
} );