Browse Source

BI-11060 firefox下拉菜单有条黄线

es6
windy 7 years ago
parent
commit
68a4467a9f
  1. 4
      bi/core.js
  2. 4
      dist/bundle.js
  3. 6
      dist/bundle.min.js
  4. 4
      dist/core.js
  5. 4
      src/core/controller/controller.tooltips.js

4
bi/core.js

@ -18683,7 +18683,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
var offset = context.element.offset(); var offset = context.element.offset();
var bounds = context.element.bounds(); var bounds = context.element.bounds();
if(bounds.height === 0 || bounds.width === 0) {
return;
}
var top = offset.top + bounds.height + 5; var top = offset.top + bounds.height + 5;
var tooltip = this.get(name); var tooltip = this.get(name);
tooltip.setText(text); tooltip.setText(text);

4
dist/bundle.js vendored

@ -18734,7 +18734,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
var offset = context.element.offset(); var offset = context.element.offset();
var bounds = context.element.bounds(); var bounds = context.element.bounds();
if(bounds.height === 0 || bounds.width === 0) {
return;
}
var top = offset.top + bounds.height + 5; var top = offset.top + bounds.height + 5;
var tooltip = this.get(name); var tooltip = this.get(name);
tooltip.setText(text); tooltip.setText(text);

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/core.js vendored

@ -18683,7 +18683,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
var offset = context.element.offset(); var offset = context.element.offset();
var bounds = context.element.bounds(); var bounds = context.element.bounds();
if(bounds.height === 0 || bounds.width === 0) {
return;
}
var top = offset.top + bounds.height + 5; var top = offset.top + bounds.height + 5;
var tooltip = this.get(name); var tooltip = this.get(name);
tooltip.setText(text); tooltip.setText(text);

4
src/core/controller/controller.tooltips.js

@ -71,7 +71,9 @@ BI.TooltipsController = BI.inherit(BI.Controller, {
var offset = context.element.offset(); var offset = context.element.offset();
var bounds = context.element.bounds(); var bounds = context.element.bounds();
if(bounds.height === 0 || bounds.width === 0) {
return;
}
var top = offset.top + bounds.height + 5; var top = offset.top + bounds.height + 5;
var tooltip = this.get(name); var tooltip = this.get(name);
tooltip.setText(text); tooltip.setText(text);

Loading…
Cancel
Save