src/js/core.js
function(status, text) {

		if(mfp.preloader) {
			if(_prevStatus !== status) {
				mfp.container.removeClass('mfp-s-'+_prevStatus);
			}

			if(!text && status === 'loading') {
				text = mfp.st.tLoading;
			}

			var data = {
				status: status,
				text: text
			};
			// allows to modify status
			_mfpTrigger('UpdateStatus', data);

			status = data.status;
			text = data.text;

			mfp.preloader.html(text);

			mfp.preloader.find('a').on('click', function(e) {
				e.stopImmediatePropagation();
			});

			mfp.container.addClass('mfp-s-'+status);
			_prevStatus = status;
		}
	}
function(status, text) {

		if(mfp.preloader) {
			if(_prevStatus !== status) {
				mfp.container.removeClass('mfp-s-'+_prevStatus);
			}

			if(!text && status === 'loading') {
				text = mfp.st.tLoading;
			}

			var data = {
				status: status,
				text: text
			};
			// allows to modify status
			_mfpTrigger('UpdateStatus', data);

			status = data.status;
			text = data.text;

			mfp.preloader.html(text);

			mfp.preloader.find('a').on('click', function(e) {
				e.stopImmediatePropagation();
			});

			mfp.container.addClass('mfp-s-'+status);
			_prevStatus = status;
		}
	}
function ( status , text ) { if ( mfp . preloader ) { if ( _prevStatus !== status ) { mfp . container . removeClass ( 'mfp-s-' + _prevStatus ) ; } if ( ! text && status === 'loading' ) { text = mfp . st . tLoading ; } var data = { status : status , text : text } ; // allows to modify status _mfpTrigger ( 'UpdateStatus' , data ) ; status = data . status ; text = data . text ; mfp . preloader . html ( text ) ; mfp . preloader . find ( 'a' ) . on ( 'click' , function ( e ) { e . stopImmediatePropagation ( ) ; } ) ; mfp . container . addClass ( 'mfp-s-' + status ) ; _prevStatus = status ; } }
Updates text on preloader
Updates text on preloader