update screenshot and fix issue
This commit is contained in:
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
|
|
||||||
: '');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user