Do not use pass the "string" (deprecated parameter) to toast show method
Bug: T217220 Change-Id: Ie188a0e613d16775c327dadf505cf8a10005d450
This commit is contained in:
parent
96abdd2597
commit
281341f0b4
|
@ -38,7 +38,7 @@
|
||||||
if ( !cookiesEnabled() ) {
|
if ( !cookiesEnabled() ) {
|
||||||
popup.show(
|
popup.show(
|
||||||
mw.msg( 'mobile-frontend-cookies-required' ),
|
mw.msg( 'mobile-frontend-cookies-required' ),
|
||||||
'error'
|
{ type: 'error' }
|
||||||
);
|
);
|
||||||
// Prevent default action
|
// Prevent default action
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue