forked from GithubBackups/vichan
removed useless tabs
This commit is contained in:
parent
0c22569dd8
commit
564862f332
@ -83,7 +83,7 @@ $(document).ready(function(){
|
|||||||
var id = post.children('p.intro').children('a.post_no:eq(1)').text();
|
var id = post.children('p.intro').children('a.post_no:eq(1)').text();
|
||||||
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'))
|
.insertAfter($(this).children('p.intro').children('a.post_no'))
|
||||||
.click(function() {
|
.click(function() {
|
||||||
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
hidden_data[board][id] = Math.round(Date.now() / 1000);
|
||||||
@ -91,7 +91,7 @@ $(document).ready(function(){
|
|||||||
var hide_link = $(this)
|
var hide_link = $(this)
|
||||||
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'))
|
.insertAfter($(this).children('p.intro').children('a.post_no'))
|
||||||
.click(function() {
|
.click(function() {
|
||||||
delete hidden_data[board][id];
|
delete hidden_data[board][id];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user