Skip to content

Commit 99ed4fb

Browse files
committed
dist build
1 parent 10d6d40 commit 99ed4fb

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

dist/js/tooltipster.bundle.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var defaults = {
8989
hasTransitions: transitionSupport(),
9090
IE: false,
9191
// don't set manually, it will be updated by a build task after the manifest
92-
semVer: '4.2.2',
92+
semVer: '4.2.3',
9393
window: win
9494
},
9595
core = function() {
@@ -3217,9 +3217,10 @@ Ruler.prototype = {
32173217
// bcr.width/height are not defined in IE8- but in this
32183218
// case, bcr.right/bottom will have the same value
32193219
// except in iOS 8+ where tooltipBcr.bottom/right are wrong
3220-
// after scrolling for reasons yet to be determined
3221-
height: tooltipBcr.height || tooltipBcr.bottom,
3222-
width: tooltipBcr.width || tooltipBcr.right
3220+
// after scrolling for reasons yet to be determined.
3221+
// tooltipBcr.top/left might not be 0, see issue #514
3222+
height: tooltipBcr.height || (tooltipBcr.bottom - tooltipBcr.top),
3223+
width: tooltipBcr.width || (tooltipBcr.right - tooltipBcr.left)
32233224
}};
32243225

32253226
if (this.constraints) {
@@ -4047,7 +4048,6 @@ $.tooltipster._plugin({
40474048

40484049
if (self.__options.functionPosition) {
40494050

4050-
40514051
var result = self.__options.functionPosition.call(self, self.__instance, helper, finalResultClone);
40524052

40534053
if (result) finalResult = result;
@@ -4057,7 +4057,6 @@ $.tooltipster._plugin({
40574057
// use for it during the position event, now it's over)
40584058
ruler.destroy();
40594059

4060-
40614060
// compute the position of the target relatively to the tooltip root
40624061
// element so we can place the arrow and make the needed adjustments
40634062
var arrowCoord,

dist/js/tooltipster.bundle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/tooltipster.main.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var defaults = {
8989
hasTransitions: transitionSupport(),
9090
IE: false,
9191
// don't set manually, it will be updated by a build task after the manifest
92-
semVer: '4.2.2',
92+
semVer: '4.2.3',
9393
window: win
9494
},
9595
core = function() {
@@ -3217,9 +3217,10 @@ Ruler.prototype = {
32173217
// bcr.width/height are not defined in IE8- but in this
32183218
// case, bcr.right/bottom will have the same value
32193219
// except in iOS 8+ where tooltipBcr.bottom/right are wrong
3220-
// after scrolling for reasons yet to be determined
3221-
height: tooltipBcr.height || tooltipBcr.bottom,
3222-
width: tooltipBcr.width || tooltipBcr.right
3220+
// after scrolling for reasons yet to be determined.
3221+
// tooltipBcr.top/left might not be 0, see issue #514
3222+
height: tooltipBcr.height || (tooltipBcr.bottom - tooltipBcr.top),
3223+
width: tooltipBcr.width || (tooltipBcr.right - tooltipBcr.left)
32233224
}};
32243225

32253226
if (this.constraints) {

dist/js/tooltipster.main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
"scripts": {
4545
"test": "echo \"Error: no test specified\" && exit 1"
4646
},
47-
"version": "4.2.2"
47+
"version": "4.2.3"
4848
}

src/js/plugins/tooltipster/sideTip/tooltipster-sideTip.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,6 @@ $.tooltipster._plugin({
718718

719719
if (self.__options.functionPosition) {
720720

721-
722721
var result = self.__options.functionPosition.call(self, self.__instance, helper, finalResultClone);
723722

724723
if (result) finalResult = result;
@@ -728,7 +727,6 @@ $.tooltipster._plugin({
728727
// use for it during the position event, now it's over)
729728
ruler.destroy();
730729

731-
732730
// compute the position of the target relatively to the tooltip root
733731
// element so we can place the arrow and make the needed adjustments
734732
var arrowCoord,

0 commit comments

Comments
 (0)