aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/simple_faq/toc.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/js/simple_faq/toc.php')
-rw-r--r--views/default/js/simple_faq/toc.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/views/default/js/simple_faq/toc.php b/views/default/js/simple_faq/toc.php
deleted file mode 100644
index 2b1621f88..000000000
--- a/views/default/js/simple_faq/toc.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-/**
- * Show the FAQs' Table of Contents
- *
- * @package SimpleFAQ
- */
-
-include(elgg_get_plugins_path() . 'simple_faq/vendors/jquery-stoc/jquery.stoc.js');
-
-?>
-
-elgg.provide('elgg.simple_faq');
-
-elgg.simple_faq.init = function() {
- $(function(){
- $("<div class="elgg-simplefaq-toc"></div>").prependTo(".elgg-main .elgg-output").stoc({
- search: ".elgg-main .elgg-output",
- stocTitle: "",
- listType: "ol",
- });
- });
-};
-
-elgg.register_hook_handler('init', 'system', elgg.simple_faq.init);