sizeover-msghide.js
/**
* sizeover-msghide.js
*
* Copyright HeavenlyStar
* Release: 2016-5-23
* Last Update: 2016-6-5
* author 御縁
*/
function resizeCheck(width,height){
var checkSize = 150;
if(!(width || height)) return false;
if(width > checkSize || height > checkSize){
return true;
} else {
return false;
}
}
$(document).ajaxComplete(function() {
$("div.msg").each( function() {
if(resizeCheck($(this).children("img").width(),$(this).children("img").height())){
$(this).css('display','none');
}
});
});