User:Pginer-WMF/common.js

/*/Media Viewer experiment to close when clicking the empty space (WiP) $(document).on('click', '.mlb-image-wrapper', function(e){	if(!$(e.target).is('img, .mlb-close, .mlb-fullscreen, .mw-mlb-next-image, .mw-mlb-prev-image')){		console.debug('this should close the media viewer');		mw.mmv.bootstrap.viewer.ui.unattach;	} });*/

importScript( 'User:Santhosh.thottingal/mint-section-translation.js' );