|
@@ -2214,11 +2214,17 @@ the specific language governing permissions and limitations under the Apache Lic
|
|
|
}));
|
|
|
|
|
|
selection.on("mousedown touchstart", "abbr", this.bind(function (e) {
|
|
|
- if (!this.isInterfaceEnabled()) return;
|
|
|
+ if (!this.isInterfaceEnabled()) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
this.clear();
|
|
|
killEventImmediately(e);
|
|
|
this.close();
|
|
|
- this.selection.focus();
|
|
|
+
|
|
|
+ if (this.selection) {
|
|
|
+ this.selection.focus();
|
|
|
+ }
|
|
|
}));
|
|
|
|
|
|
selection.on("mousedown touchstart", this.bind(function (e) {
|