update screenshot and fix issue
parent
a1723c3046
commit
04dab1edcf
Binary file not shown.
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 508 KiB |
|
@ -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
|
|
||||||
: '');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue