mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[mod] oscar: get leaflet and jquery from NPM
easy to upgrade (package.json)
This commit is contained in:
parent
c7133efb12
commit
44407353ef
25 changed files with 702 additions and 115 deletions
2
searx/static/themes/oscar/js/jquery.min.js
vendored
Normal file
2
searx/static/themes/oscar/js/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
searx/static/themes/oscar/js/leaflet.js
Normal file
6
searx/static/themes/oscar/js/leaflet.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -315,7 +315,7 @@ $(document).ready(function(){
|
|||
}
|
||||
|
||||
// change default imagePath
|
||||
L.Icon.Default.imagePath = "./static/themes/oscar/img/map";
|
||||
L.Icon.Default.imagePath = "./static/themes/oscar/css/images/";
|
||||
|
||||
// init map
|
||||
var map = L.map(leaflet_target);
|
||||
|
|
4
searx/static/themes/oscar/js/searx.min.js
vendored
4
searx/static/themes/oscar/js/searx.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue