mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 18:56:04 +00:00
Fixed fancybox for #posts (comments excluded)
This commit is contained in:
parent
8d1222766c
commit
599ccc551c
|
@ -36,7 +36,8 @@ $(document).ready(function() {
|
|||
}
|
||||
// Posts
|
||||
if (options.option_fancybox_posts == true) {
|
||||
$('.post-id a').attr('data-fancybox-type', 'iframe').fancybox({
|
||||
// Excluding some sort of piece-of-shit makeup
|
||||
$('.post-id a').not('#comments .post-id a, #top-post .post-id a').attr('data-fancybox-type', 'iframe').fancybox({
|
||||
maxWidth: 780
|
||||
});
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</div>
|
||||
|
||||
<div class="option">
|
||||
<input type="checkbox" id="option-fancybox-posts"><label for="option-fancybox-posts">Use for post links (including comments)</label>
|
||||
<input type="checkbox" id="option-fancybox-posts"><label for="option-fancybox-posts">Use for post links</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue