function desktopViewClick() {
		if ( !cookiesEnabled() ) {
			popup.show(
				mw.msg( 'mobile-frontend-cookies-required' ),
				'error'
			);
			// Prevent default action
			return false;
		}
	}
/**
	 * An event handler for the toggle to desktop link.
	 * If cookies are enabled it will redirect you to desktop site as described in
	 * the link href associated with the handler.
	 * If cookies are not enabled, show a toast and die.
	 * @method
	 * @ignore
	 * @return {boolean|undefined}
	 */
An event handler for the toggle to desktop link.
If cookies are enabled it will redirect you to desktop site as described in
the link href associated with the handler.
If cookies are not enabled, show a toast and die.
@method
@ignore
@return {boolean|undefined}
An event handler for the toggle to desktop link . If cookies are enabled it will redirect you to desktop site as described in the link href associated with the handler . If cookies are not enabled show a toast and die . @method @ignore @return { boolean|undefined }
function desktopViewClick() {
		if ( !cookiesEnabled() ) {
			popup.show(
				mw.msg( 'mobile-frontend-cookies-required' ),
				'error'
			);
			return false;
		}
	}
function desktopViewClick ( ) { if ( ! cookiesEnabled ( ) ) { popup . show ( mw . msg ( 'mobile-frontend-cookies-required' ) , 'error' ) ; return false ; } }
An event handler for the toggle to desktop link.
An event handler for the toggle to desktop link .
// Prevent default action