w/extensions/FlaggedRevs/frontend/modules/ext.flaggedRevs.review.js
/*
	 * Enable AJAX-based functionality to set that a user is reviewing a page/diff
	 */
Enable AJAX-based functionality to set that a user is reviewing a page/diff
Enable AJAX - based functionality to set that a user is reviewing a page / diff
function enableAjaxReviewActivity() {
		if ( $( '#mw-fr-user-reviewing' ).val() === 1 ) {
			isUserReviewing = 1;
			advertiseReviewing( null, true );
		} else {
			deadvertiseReviewing( null, true );
		}
		$( '#mw-fr-reviewing-status' ).show();
	}
function enableAjaxReviewActivity ( ) { if ( $ ( '#mw-fr-user-reviewing' ) . val ( ) === 1 ) { isUserReviewing = 1 ; advertiseReviewing ( null , true ) ; } else { deadvertiseReviewing ( null , true ) ; } $ ( '#mw-fr-reviewing-status' ) . show ( ) ; }
Enable AJAX-based functionality to set that a user is reviewing a page/diff
Enable AJAX - based functionality to set that a user is reviewing a page / diff
// User is already reviewing in another tab... // User is not already reviewing this....