update screenshot and fix issue

master
JFH 2021-05-21 21:34:44 +02:00
parent a1723c3046
commit 04dab1edcf
2 changed files with 2 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 508 KiB

View File

@ -47,11 +47,8 @@ function historyRecordingService (hrService) {
* @returns {string} The layer name or empty string. * @returns {string} The layer name or empty string.
*/ */
function findLayerNameInGroup (group) { function findLayerNameInGroup (group) {
return group.querySelector('title').textContent || const sel = group.querySelector('title');
(isOpera() && group.querySelectorAll return sel ? sel.textContent : '';
// Hack for Opera 10.60
? group.querySelector('title').textContent
: '');
} }
/** /**