]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/pages/page-show.js
Removes some unused code.
[bookstack] / resources / assets / js / pages / page-show.js
index 67d339d63a32c139831550c7be13bc9ee3fa9f13..7754840af501dead6c215f6fd9fb8c74cf263bd8 100644 (file)
@@ -1,5 +1,3 @@
-"use strict";
-// Configure ZeroClipboard
 const Clipboard = require("clipboard");
 const Code = require('../code');
 
@@ -161,6 +159,8 @@ let setupPageShow = window.setupPageShow = function (pageId) {
         }
     });
 
+    // in order to call from other places.
+    window.setupPageShow.goToText = goToText;
 };
 
 module.exports = setupPageShow;
\ No newline at end of file