Skip to content

Commit

Permalink
Merge pull request #1266 from gebederry/dev-15
Browse files Browse the repository at this point in the history
fix: Several uninitialized variables
  • Loading branch information
MichalD96 authored Aug 8, 2024
2 parents 73984ab + a385c4d commit d60fc12
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions assets/js/language.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ const Language = {

this.translateDom();

searchInput.setAttribute('placeholder', Language.get('menu.search_placeholder'));
placeholdersToHtml(suggestionsHotkeys, {
document.getElementById('search').setAttribute('placeholder', Language.get('menu.search_placeholder'));
placeholdersToHtml(document.getElementById('query-suggestions-hotkeys'), {
'↑': '<kbd class="hotkey">↑</kbd>',
'↓': '<kbd class="hotkey">↓</kbd>',
'Enter': '<kbd class="hotkey">Enter</kbd>'
});
backToTop.setAttribute('title', Language.get('menu.back_to_top'));
document.getElementById('back-to-top').setAttribute('title', Language.get('menu.back_to_top'));

FME.update();
this.updateProgress();
Expand Down
48 changes: 24 additions & 24 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@

<link rel="stylesheet" href="assets/css/leaflet.css" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/styles.css?nocache=1589" />
<link rel="stylesheet" href="assets/css/tippy.css?nocache=1589" />
<link rel="stylesheet" href="assets/css/styles.css?nocache=1590" />
<link rel="stylesheet" href="assets/css/tippy.css?nocache=1590" />

<script>
const nocache = 1589;
const nocache = 1590;
</script>
</head>

Expand Down Expand Up @@ -1369,7 +1369,7 @@ <h4 class="modal-title" id="import-rdo-inventory-modal-title" data-text="menu.mo
<script src="https://js.sentry-cdn.com/8bb034d026aa4fb38d3428be80b9f776.min.js" crossorigin="anonymous" data-lazy="no"></script>
<script src="assets/js/lib/fuse.min.js"></script>
<script src="assets/js/lib/bootstrap.min.js"></script>
<script src="assets/js/loader.js?nocache=1589"></script>
<script src="assets/js/loader.js?nocache=1590"></script>
<script src="assets/js/lib/popper.min.js"></script>
<script src="assets/js/lib/tippy.min.js"></script>
<script src="assets/js/lib/leaflet.js"></script>
Expand All @@ -1380,26 +1380,26 @@ <h4 class="modal-title" id="import-rdo-inventory-modal-title" data-text="menu.mo
<script>var module = {};</script>
<script src="assets/js/lib/leaflet.canvas-markers.js"></script>
<script>module.exports(L);</script>
<script src="assets/js/layers.js?nocache=1589"></script>
<script src="assets/js/settings.js?nocache=1589"></script>
<script src="assets/js/mapping.js?nocache=1589"></script>
<script src="assets/js/nazar.js?nocache=1589"></script>
<script src="assets/js/fme.js?nocache=1589"></script>
<script src="assets/js/cycles.js?nocache=1589"></script>
<script src="assets/js/marker.js?nocache=1589"></script>
<script src="assets/js/inventory.js?nocache=1589"></script>
<script src="assets/js/treasures.js?nocache=1589"></script>
<script src="assets/js/legendary.js?nocache=1589"></script>
<script src="assets/js/pins.js?nocache=1589"></script>
<script src="assets/js/map.js?nocache=1589"></script>
<script src="assets/js/language.js?nocache=1589"></script>
<script src="assets/js/menu.js?nocache=1589"></script>
<script src="assets/js/items.js?nocache=1589"></script>
<script src="assets/js/category-collection.js?nocache=1589"></script>
<script src="assets/js/routes.js?nocache=1589"></script>
<script src="assets/js/pathfinder.main.js?nocache=1589"></script>
<script src="assets/js/updates.js?nocache=1589"></script>
<script src="assets/js/scripts.js?nocache=1589"></script>
<script src="assets/js/layers.js?nocache=1590"></script>
<script src="assets/js/settings.js?nocache=1590"></script>
<script src="assets/js/mapping.js?nocache=1590"></script>
<script src="assets/js/nazar.js?nocache=1590"></script>
<script src="assets/js/fme.js?nocache=1590"></script>
<script src="assets/js/cycles.js?nocache=1590"></script>
<script src="assets/js/marker.js?nocache=1590"></script>
<script src="assets/js/inventory.js?nocache=1590"></script>
<script src="assets/js/treasures.js?nocache=1590"></script>
<script src="assets/js/legendary.js?nocache=1590"></script>
<script src="assets/js/pins.js?nocache=1590"></script>
<script src="assets/js/map.js?nocache=1590"></script>
<script src="assets/js/language.js?nocache=1590"></script>
<script src="assets/js/menu.js?nocache=1590"></script>
<script src="assets/js/items.js?nocache=1590"></script>
<script src="assets/js/category-collection.js?nocache=1590"></script>
<script src="assets/js/routes.js?nocache=1590"></script>
<script src="assets/js/pathfinder.main.js?nocache=1590"></script>
<script src="assets/js/updates.js?nocache=1590"></script>
<script src="assets/js/scripts.js?nocache=1590"></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-39999584-4"></script>
Expand Down

0 comments on commit d60fc12

Please sign in to comment.