Merge "Do not use pass the "string" (deprecated parameter) to toast show method"
This commit is contained in:
commit
db3e6d2380
|
@ -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