mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Fix slide resource path and style load orders to avoid conflicts
This commit is contained in:
parent
ead48e45e0
commit
47d5efb29e
3 changed files with 18 additions and 7 deletions
|
@ -36,7 +36,7 @@ function extend() {
|
|||
|
||||
// Optional libraries used to extend on reveal.js
|
||||
var deps = [{
|
||||
src: serverurl + '/vendor/reveal.js/lib/js/classList.js',
|
||||
src: serverurl + '/build/reveal.js/lib/js/classList.js',
|
||||
condition: function() {
|
||||
return !document.body.classList;
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ var deps = [{
|
|||
$(".slides").show();
|
||||
}
|
||||
}, {
|
||||
src: serverurl + '/vendor/reveal.js/plugin/notes/notes.js',
|
||||
src: serverurl + '/build/reveal.js/plugin/notes/notes.js',
|
||||
async: true,
|
||||
condition: function() {
|
||||
return !!document.body.classList;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue