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.
*/
function findLayerNameInGroup (group) {
return group.querySelector('title').textContent ||
(isOpera() && group.querySelectorAll
// Hack for Opera 10.60
? group.querySelector('title').textContent
: '');
const sel = group.querySelector('title');
return sel ? sel.textContent : '';
}
/**