summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-system-libjs-jquery.patch
blob: a6b16be56b62ea002eda3d95fcf5f6da56398424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Tanguy Ortolo <tanguy+debian@ortolo.eu>
Description: Use packaged version of jQuery instead of an embedded one.

diff -Naurp dokuwiki.orig/lib/exe/jquery.php dokuwiki/lib/exe/jquery.php
--- dokuwiki.orig/lib/exe/jquery.php
+++ dokuwiki/lib/exe/jquery.php
@@ -24,7 +24,7 @@ function jquery_out()
 {
     $cache = new Cache('jquery', '.js');
     $files = [
-        DOKU_INC . 'lib/scripts/jquery/jquery.min.js',
+        '/usr/share/javascript/jquery/jquery.min.js',
         DOKU_INC . 'lib/scripts/jquery/jquery-ui.min.js'
     ];
     $cache_files = $files;