layer.js 802行 改前
if (n || p.on("click", t.img, function() {
var e = i(this)
, n = e.attr("layer-index");
r.photos(i.extend(t, {
photos: {
start: n,
data: u,
tab: t.tab
},
full: t.full
}), !0)
h(); }),
改后 把816行h()方法提前
if (n || p.on("click", t.img, function() {
h();
var e = i(this)
, n = e.attr("layer-index");
r.photos(i.extend(t, {
photos: {
start: n,
data: u,
tab: t.tab
},
full: t.full
}), !0)
}),