forked from GithubBackups/vichan
hotfix for expand button not showing
I have no idea how this problem didn't show up (like it does on the live site) when I tested the code before.
This commit is contained in:
parent
79b6e6c72f
commit
d49118aae0
@ -84,7 +84,7 @@ $(document).ready(function(){
|
|||||||
var board = post.parent().data('board');
|
var board = post.parent().data('board');
|
||||||
|
|
||||||
$('<a class="post-hide-link" href="javascript:void(0)" title="Hide Post" style="float: right">[–]</a>')
|
$('<a class="post-hide-link" href="javascript:void(0)" title="Hide Post" style="float: right">[–]</a>')
|
||||||
.insertAfter($(this).children('p.intro').children('a.post_no:last'))
|
.insertAfter(post.children('p.intro').children('a.post_no:last'))
|
||||||
.click(function() {
|
.click(function() {
|
||||||
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
||||||
store_data();
|
store_data();
|
||||||
@ -92,7 +92,7 @@ $(document).ready(function(){
|
|||||||
post.children('div').hide();
|
post.children('div').hide();
|
||||||
hide_link.hide();
|
hide_link.hide();
|
||||||
$('<a class="post-show-link" href="javascript:void(0)" title="Show Post" style="float: right">[+]</a>')
|
$('<a class="post-show-link" href="javascript:void(0)" title="Show Post" style="float: right">[+]</a>')
|
||||||
.insertAfter($(this).children('p.intro').children('a.post_no:last'))
|
.insertAfter(post.children('p.intro').children('a.post_no:last'))
|
||||||
.click(function() {
|
.click(function() {
|
||||||
delete hidden_data[board][id];
|
delete hidden_data[board][id];
|
||||||
store_data();
|
store_data();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user