Browse Source
Merge pull request #85 from nonmakina/postFilter
Post filter
pull/40/head
towards-a-new-leftypol
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
0 deletions
-
inc/instance-config.php
-
js/post-filter.js
|
|
@ -287,6 +287,8 @@ $config['additional_javascript'][] = 'js/show-own-posts.js'; |
|
|
|
$config['additional_javascript'][] = 'js/multi-image.js'; // Support for posting multiple files |
|
|
|
|
|
|
|
$config['additional_javascript'][] = 'js/quick-reply.js'; |
|
|
|
$config['additional_javascript'][] = 'js/post-menu.js'; |
|
|
|
$config['additional_javascript'][] = 'js/post-filter.js'; |
|
|
|
|
|
|
|
$config['additional_javascript'][] = 'js/options.js'; |
|
|
|
$config['additional_javascript'][] = 'js/webm-settings.js'; |
|
|
|
|
|
@ -1,3 +1,8 @@ |
|
|
|
/* Depends on post-menu.js |
|
|
|
* Usage: |
|
|
|
* $config['additional_javascript'][] = 'js/post-menu.js'; |
|
|
|
* $config['additional_javascript'][] = 'js/post-filter.js'; |
|
|
|
*/ |
|
|
|
if (active_page === 'thread' || active_page === 'index' || active_page === 'catalog' || active_page === 'ukko') { |
|
|
|
$(document).on('menu_ready', function () { |
|
|
|
'use strict'; |
|
|
|