User:Sometester/common.js

/*$(document).on('click', '.mw-mmv-image-wrapper', function(e){	if(!$(e.target).is('img, .mlb-close, .mlb-fullscreen, .mw-mlb-next-image, .mw-mlb-prev-image')){		mw.mmv.bootstrap.viewer.ui.unattach;	} });*/

var opened = false;

$(document).on('hover', '.mw-mmv-image-wrapper', function(e){	if(localStorage.getItem('mmv.hasOpenedMetadata') !== null && !opened){			$('.mw-mmv-drag-icon').css('background-image','url(https://dl.dropboxusercontent.com/u/30377416/design/drag.svg)')			opened = true;		} });