Project-GC Userscript/Development/Latest Logs: Difference between revisions

From Project-GC
Jump to navigation Jump to search
Add image, clean-up
m update template
Line 1: Line 1:
{{PGC-back-link
{{PGC-back-link
|content=Latest Logs Feature
|content=Latest Logs Feature
|link=Project-GC_Userscript/Development
|link={{PGC-US-Name}}/Development
}}
}}
= Description =
= Description =

Revision as of 14:01, 1 September 2022

Latest Logs Feature [[Project-GC Userscript


/Development|Project-GC Userscript


/Development]]



Description

Latest Logs is a feature that displays the a graphical summary of the 5 most recent logs of a geocache. It will display the icons that represent the kinds of logs at the top of the page under the section for the size of the Geocache (see below).

Change Log

2022-08-23; Issue #109. Fixed in v2.3.15

Updated the code to account for the changes in the HTML. A span was added. Around Line 1082, changed from:

if (latestLogs.length < 5) {
    var node = $(jNode).find('div.HalfLeft.LogType h4 img[src]'),
        logType = {};

--> to:

if (latestLogs.length < 5) {
    var node = $(jNode).find('span.h4 img[src]'),
        logType = {};