Skip to content

Commit

Permalink
Merge pull request #279 from philomena-dev/no-owned-options
Browse files Browse the repository at this point in the history
Remove long-obsolete owner options scripts
  • Loading branch information
liamwhite authored Jun 9, 2024
2 parents 2dfacd6 + b42c438 commit 41af2f1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 30 deletions.
5 changes: 0 additions & 5 deletions assets/js/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*/

import { $ } from './utils/dom';
import { showOwnedComments } from './communications/comment';
import { filterNode } from './imagesclientside';
import { fetchHtml } from './utils/requests';
import { timeAgo } from './timeago';
Expand Down Expand Up @@ -131,9 +130,6 @@ function displayComments(container, commentsHtml) {
// Filter images in the comments
filterNode(container);

// Show options on own comments
showOwnedComments();

}

function loadComments(event) {
Expand Down Expand Up @@ -175,7 +171,6 @@ function setupComments() {
}
else {
filterNode(comments);
showOwnedComments();
}
}

Expand Down
10 changes: 0 additions & 10 deletions assets/js/communications/comment.js

This file was deleted.

10 changes: 0 additions & 10 deletions assets/js/communications/post.js

This file was deleted.

5 changes: 0 additions & 5 deletions assets/js/when-ready.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@

import { whenReady } from './utils/dom';

import { showOwnedComments } from './communications/comment';
import { showOwnedPosts } from './communications/post';

import { listenAutocomplete } from './autocomplete';
import { loadBooruData } from './booru';
import { registerEvents } from './boorujs';
Expand Down Expand Up @@ -39,8 +36,6 @@ import { imageSourcesCreator } from './sources';

whenReady(() => {

showOwnedComments();
showOwnedPosts();
loadBooruData();
listenAutocomplete();
registerEvents();
Expand Down

0 comments on commit 41af2f1

Please sign in to comment.