"cubist/minisearch": "dev-master",
"cubist/socialite": "dev-master",
"fluidbook/tools": "dev-master",
- "fruitcake/laravel-cors": "^2.0",
+ "fruitcake/laravel-cors": "^2.2",
"guzzlehttp/guzzle": "^7.4",
- "laravel/framework": "^v8.80",
+ "laravel/framework": "^v8.83",
"laravel/sanctum": "^v2.14",
"laravel/tinker": "^v2.7",
- "mxl/laravel-job": "^v1.2",
+ "mxl/laravel-job": "^v1.3",
"php-ffmpeg/php-ffmpeg": "^v0.19.0",
"spatie/laravel-permission": "^4.4"
},
case "ftp:":
case "mailto:":
case "tel:":
+ case "pdf:":
+ case "tooltip:":
return true;
default:
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
-/******/
+/******/
/******/ // The require function
/******/ function __w_pdfjs_require__(moduleId) {
/******/ // Check if module is in cache
/******/ // no module.loaded needed
/******/ exports: {}
/******/ };
-/******/
+/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId](module, module.exports, __w_pdfjs_require__);
-/******/
+/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
-/******/
+/******/
/************************************************************************/
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
/******/ })()
;
});
-//# sourceMappingURL=pdf.js.map
\ No newline at end of file
+//# sourceMappingURL=pdf.js.map
case "mailto:":
case "tel:":
case "pdf:":
+ case "tooltip:":
return true;
default:
<script>
var inFluidbook = window.parent.fluidbook !== undefined;
$(function () {
+ $(document).on('click', 'a[href^="tooltip:"]', function () {
+ return false;
+ });
+
+ $(document).on('mouseover', 'a[href^="tooltip:"]', function () {
+ $(this).attr('title', $(this).attr('href').substring(8));
+ return true;
+ });
+
$(document).on('click', 'a[href^="pdf:"]', function () {
var e = $(this).attr('href').split('#');
var file;
hash = '#page=' + e[1];
}
}
- if(inFluidbook) {
+ if (inFluidbook) {
window.location = 'viewer.html?file=../../data/links/' + file + hash;
- }else{
+ } else {
window.location = 'viewer.html?file=' + file + hash;
}
return false;