Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Commit 6e41dc0

Browse files
committed
Safari refinements to dynamic filtering UI indicators
1 parent f959f19 commit 6e41dc0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

platform/safari/vapi-popup.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ var onLoaded = function() {
2929
var _toggle = DOMTokenList.prototype.toggle;
3030
var unchainPane2Timeout = false;
3131
var unchainPane2 = function() {
32+
scopeIcons.style.removeProperty("display");
3233
pane2.style.removeProperty("display");
3334
};
3435
DOMTokenList.prototype.toggle = function(className, enabled) {
@@ -38,8 +39,9 @@ var onLoaded = function() {
3839
unchainPane2Timeout = false;
3940
}
4041
_toggle.apply(this, arguments);
42+
scopeIcons.style.setProperty("display", "none", "important");
4143
pane2.style.setProperty("display", "inline-block", "important");
42-
unchainPane2Timeout = setTimeout(unchainPane2, 700);
44+
unchainPane2Timeout = setTimeout(unchainPane2, 400);
4345
updateSize(enabled);
4446
}
4547
else {
@@ -49,6 +51,7 @@ var onLoaded = function() {
4951
var body = document.body,
5052
popover = safari.self,
5153
panes = document.getElementById("panes"),
54+
scopeIcons = document.getElementById("scopeIcons"),
5255
pane1 = panes.children[0],
5356
pane2 = panes.children[1];
5457

0 commit comments

Comments
 (0)