diff --git a/docs/screenshot.png b/docs/screenshot.png index 68dd6edc..fbfe3f42 100644 Binary files a/docs/screenshot.png and b/docs/screenshot.png differ diff --git a/src/svgcanvas/draw.js b/src/svgcanvas/draw.js index 6b4f646b..d534eadf 100644 --- a/src/svgcanvas/draw.js +++ b/src/svgcanvas/draw.js @@ -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 : ''; } /**