Do not use pass the "string" (deprecated parameter) to toast show method

Bug: T217220
Change-Id: Ie188a0e613d16775c327dadf505cf8a10005d450
This commit is contained in:
jdlrobson 2019-04-23 22:49:59 +08:00 committed by Jdlrobson
parent 96abdd2597
commit 281341f0b4
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
if ( !cookiesEnabled() ) {
popup.show(
mw.msg( 'mobile-frontend-cookies-required' ),
'error'
{ type: 'error' }
);
// Prevent default action
return false;