Files
web-alterflixhub/c/century-the-movie-plaza/index.html
T
Bkk1234 a8a022ec54 fix(cards): จำกัดพื้นที่คลิกที่ "กล่องข้อความ" เท่านั้น — รูปไม่ navigate
- card-click v2: ตรวจว่าคลิกอยู่ใน parent ของลิงก์ "ดูรายละเอียด" (= กล่อง bg-[#1B1B1B])
  · คลิกรูป/พื้นที่ด้านบนการ์ด → ไม่ทำอะไร
  · คลิกกล่องข้อความ (km./ชื่อ/ที่ตั้ง/tag/ช่องว่าง) → เปิดหน้าโรงหนัง
  · ปุ่มแชร์ยังทำงานเอง
- cursor: pointer เฉพาะกล่องข้อความ (article = auto)
- ลบ card-click.v1.js · อัปเดตแท็กใน 64 หน้า · sw VERSION v2.1.4 + precache v2
- docs/card-clickable.md: อธิบายขอบเขตการคลิกด้วยโครงสร้าง DOM จริง
2026-11-24 15:29:04 +07:00

15 lines
995 B
HTML

<!doctype html><meta charset="utf-8"><title>กำลังพาไป…</title>
<link rel="canonical" href="/cinema/century-the-movie-plaza">
<meta http-equiv="refresh" content="0; url=/cinema/century-the-movie-plaza">
<script>location.replace("/cinema/century-the-movie-plaza")</script>
<a href="/cinema/century-the-movie-plaza">ไปที่หน้าโรงหนัง</a>
<script data-static-export-nav>(()=>{
document.addEventListener("click",(event)=>{
if(event.defaultPrevented||event.button!==0||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;
const anchor=event.target instanceof Element?event.target.closest("a[href]"):null;
if(!anchor||!anchor.getAttribute("href").startsWith("/")||anchor.target&&anchor.target!=="_self"||anchor.hasAttribute("download"))return;
event.preventDefault();
event.stopImmediatePropagation();
location.assign(anchor.getAttribute("href"));
},true);
})();</script><script src="/assets/card-click.v2.js" defer></script>