Skip to content

Commit

Permalink
GoLive v0.15.4
Browse files Browse the repository at this point in the history
  • Loading branch information
2Abendsegler authored Jan 8, 2024
2 parents eebff6a + 3a0b988 commit f038dde
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
18 changes: 18 additions & 0 deletions docu/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<a href="//"><img src="https://img.shields.io/badge/dynamic/xml?url=http://c.andyhoppe.com/1676270686?output=text&label=installations&color=success&query=/" title="installations and updates"></a>
<a href="//"><img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/2Abendsegler/GClh/master/docu/changelog.md&count_bg=%2349c91b&title_bg=%23555555&icon=&title=hits&edge_flat=false" title="hits day / total"></a><br>
<br>
<a href="#v0154" title="GClh II version 0.15.4 (09.01.2024)">v0.15.4</a> &nbsp;
<a href="#v0153" title="GClh II version 0.15.3 (20.12.2023)">v0.15.3</a> &nbsp;
<a href="#v0152" title="GClh II version 0.15.2 (09.12.2023)">v0.15.2</a> &nbsp;
<a href="#v0151" title="GClh II version 0.15.1 (02.12.2023)">v0.15.1</a> &nbsp;
Expand Down Expand Up @@ -42,6 +43,23 @@
<a href="changelog_before.md" title="Go to earlier changelog">Earlier changelog</a> &nbsp;
<span id="readme"></span>

---
## v0.15.4:
&nbsp; &nbsp; <img src="../images/flag_ua.png" alt="" title="Stand with Ukraine"><br>
<ul>
<li>
<strong>New:</strong> [Log Form] Setting default logtypes without page reload. [<a href="https://github.com/2Abendsegler/GClh/issues/2544" title="Issue 2544">2544</a> / <a href="https://www.geocaching.com/profile/?u=Die Batzen" title="Thanks to Die Batzen">Die Batzen</a>]<br><br>
</li>
<li>
<strong>New:</strong> [Search Map] Preserve a specified URL zoom parameter on page load. [<a href="https://github.com/2Abendsegler/GClh/issues/2545" title="Issue 2545">2545</a> / <a href="https://www.geocaching.com/profile/?u=Die Batzen" title="Thanks to Die Batzen">Die Batzen</a>]<br>
On page load a specified URL zoom parameter is ignored and zoom level is set to 14. This happens e.g. on <a href="https://www.geocaching.com/my/statistics.aspx#DifficultyTerrainCaches">mapped matrix searches</a>, calling the <a href="https://www.geocaching.com/play/map?lat=52.5245&lng=13.4101&zoom=16">search map from the browse map</a> or calling a stored search from a bookmark.<br><br>
</li>
</ul>
<br>
(09.01.2024)<br>
released by <a href="https://www.geocaching.com/profile/?u=2Abendsegler">2Abendsegler</a><br>
<br>

---
## v0.15.3:
&nbsp; &nbsp; <img src="../images/flag_ua.png" alt="" title="Stand with Ukraine"><br>
Expand Down
11 changes: 5 additions & 6 deletions gc_little_helper_II.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// @name GC little helper II
// @description Some little things to make life easy (on www.geocaching.com).
//--> $$000
// @version 0.15.3
// @version 0.15.4
//<-- $$000
// @copyright 2010-2016 Torsten Amshove, 2016-2024 2Abendsegler, 2017-2021 Ruko2010, 2019-2024 capoaira
// @author Torsten Amshove; 2Abendsegler; Ruko2010; capoaira
Expand Down Expand Up @@ -4826,7 +4826,6 @@ var mainGC = function() {
const ind = pageData.logTypes.map(v => v.value).indexOf(Number(logtype));
// Return if no logtype is selected or selected logtype is not available for this cache.
if (logtype == -1 || ind == -1) return;

// Use React properties to set default logtype.
const mem_props = logtype_selection[obj_keys[0]].child.memoizedProps;
const option = mem_props.options[ind];
Expand All @@ -4836,7 +4835,7 @@ var mainGC = function() {
waitCount++; if (waitCount <= 1000) setTimeout(function(){setDefaultLogtype(waitCount);}, 10);
}
try {
if (!isEdit && typeof pageData !== 'undefined' && typeof pageData.logTypes !== 'undefined'
if (!isEdit && typeof pageData !== 'undefined' && typeof pageData.isEvent !== 'undefined' && typeof pageData.logTypes !== 'undefined'
&& ((!isDraft && !isTB && (settings_default_logtype || settings_default_logtype_event || settings_default_logtype_owner))
|| isTB && settings_default_tb_logtype)) {
setDefaultLogtype(0);
Expand Down Expand Up @@ -14818,8 +14817,8 @@ var mainGC = function() {
//--> $$002
code += '<img src="https://c.andyhoppe.com/1643060379"' + prop; // Besucher
code += '<img src="https://c.andyhoppe.com/1643060408"' + prop; // Seitenaufrufe
code += '<img src="https://s11.flagcounter.com/count2/JmdN/bg_FFFFFF/txt_000000/border_CCCCCC/columns_6/maxflags_60/viewers_0/labels_1/pageviews_1/flags_0/percent_0/"' + prop;
code += '<img src="https://www.worldflagcounter.com/iGn"' + prop;
code += '<img src="https://s11.flagcounter.com/count2/lzUt/bg_FFFFFF/txt_000000/border_CCCCCC/columns_6/maxflags_60/viewers_0/labels_1/pageviews_1/flags_0/percent_0/"' + prop;
code += '<img src="https://www.worldflagcounter.com/iGU"' + prop;
//<-- $$002
div.innerHTML = code;
side.appendChild(div);
Expand Down Expand Up @@ -16199,7 +16198,7 @@ var mainGC = function() {
html += thanksLineBuild("V60", "V60GC", false, false, false, true, false);
html += thanksLineBuild("vylda", "", false, false, false, true, false);
html += thanksLineBuild("winkamol", "", false, false, false, true, false);
var thanksLastUpdate = "20.12.2023";
var thanksLastUpdate = "08.01.2024";
//<-- $$006
html += " </tbody>";
html += "</table>";
Expand Down
2 changes: 1 addition & 1 deletion last_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.3
0.15.4

0 comments on commit f038dde

Please sign in to comment.