We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d73a90 commit dc078feCopy full SHA for dc078fe
lib/main.js
@@ -166,7 +166,6 @@ export function toggle () {
166
if (wasMaximized) {
167
atom.maximize()
168
}
169
-
170
} else {
171
toggled = true
172
initSubscriptions()
lib/minimap-element.js
@@ -429,7 +429,12 @@ class MinimapElement {
429
if (minimaps.length) {
430
Array.prototype.forEach.call(minimaps, (el) => {
431
el.destroy()
432
- container.removeChild(el)
+ try {
433
+ container.removeChild(el)
434
+ } catch (e) {
435
+ // TODO: ignore for now
436
+ // https://github.com/atom-minimap/minimap/issues/766#issuecomment-762496374
437
+ }
438
})
439
440
container.appendChild(this)
0 commit comments