mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
🐛 Fix #16135
This commit is contained in:
@@ -114,7 +114,9 @@ class TooltipManager {
|
||||
add (target, options) {
|
||||
if (target.jquery) {
|
||||
const disposable = new CompositeDisposable()
|
||||
for (const element of target) { disposable.add(this.add(element, options)) }
|
||||
for (let i = 0; i < target.length; i++) {
|
||||
disposable.add(this.add(target[i], options))
|
||||
}
|
||||
return disposable
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user