Skip to content

Commit a6a0e69

Browse files
committed
Lightbox v2.12.0で画像をコピーできなくなっていたのを修正。
1 parent bd3e335 commit a6a0e69

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

petitnote/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
//https://paintbbs.sakura.ne.jp/
44
//1スレッド1ログファイル形式のスレッド式画像掲示板
55

6-
$petit_ver='v1.193.2';
7-
$petit_lot='lot.20260301';
6+
$petit_ver='v1.193.7';
7+
$petit_lot='lot.20260302';
88

99
$lang = ($http_langs = $_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? '')
1010
? explode( ',', $http_langs )[0] : '';

petitnote/lib/lightbox/css/lightbox.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,15 @@ body.lb-disable-scrolling {
112112
left: 0;
113113
height: 100%;
114114
width: 100%;
115-
/* z-index: 10; */
115+
z-index: 10;
116+
/* .lb-navの下の画像をクリックできるようにするため、pointer-eventsをnoneに設定 */
117+
pointer-events: none;
118+
}
119+
120+
/* ボタンとして機能する「次へ」「前へ」のみのクリックを有効にする */
121+
.lb-nav a.lb-prev,
122+
.lb-nav a.lb-next {
123+
pointer-events: auto;
116124
}
117125

118126
.lb-container > .nav {

petitnote/lib/lightbox/css/lightbox.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)