Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

主题fancybox灯箱的配置在哪里? #947

Closed
panauhaij opened this issue Oct 20, 2024 · 4 comments
Closed

主题fancybox灯箱的配置在哪里? #947

panauhaij opened this issue Oct 20, 2024 · 4 comments
Labels
help help

Comments

@panauhaij
Copy link

我想问一下主题fancybox灯箱的配置在哪里?想把灯箱的hash插件关了,防止影响pjax刷新

@panauhaij panauhaij added the help help label Oct 20, 2024
Copy link

任何人都可以处理此问题。
请务必在您的 pull request 中引用此问题。
感谢你的贡献! (o゜▽゜)o☆

Copy link

@panauhaij,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@panauhaij
Copy link
Author

由于灯箱放大图片会改变url,所以返回时会导致PJAX进行刷新,所以关掉hash防止地址栏变化就行了,但我找不到具体配置在哪

@panauhaij
Copy link
Author

OK,自己解决了,在包裹标签的里面再添加一个data-options='{"hash": false}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help help
Projects
None yet
Development

No branches or pull requests

1 participant