Skip to content

Commit ff4d352

Browse files
committed
Add bundle for next release 2.0.5
1 parent 8eab4b7 commit ff4d352

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

bundle.js

+11-7
Original file line numberDiff line numberDiff line change
@@ -44675,7 +44675,11 @@ define('pat-navigation',[
4467544675
var $a = $(this),
4467644676
$li = $a.parents("li:first"),
4467744677
url = $a.attr("href"),
44678-
path = _._pathfromurl(url);
44678+
path;
44679+
if (typeof url === "undefined") {
44680+
return;
44681+
}
44682+
path = _._pathfromurl(url);
4467944683
log.debug("checking url:", url, "extracted path:", path);
4468044684
if (_._match(curpath, path)) {
4468144685
log.debug("found match", $li);
@@ -48837,7 +48841,7 @@ define('pat-toggle',[
4883748841
victims=document.querySelectorAll(options[i].selector);
4883848842
if (!victims.length)
4883948843
continue;
48840-
state=options[i].toggler.get(victims[0]),
48844+
state=options[i].toggler.get(victims[0]);
4884148845
last_state=options[i].value_storage.get();
4884248846
if (state!==last_state && last_state !== null)
4884348847
for (var j=0; j<victims.length; j++)
@@ -49419,7 +49423,7 @@ define('pat-tooltip',[
4941949423
case "t":
4942049424
container_offset.top = trigger_box.bottom + tip_margin;
4942149425
tip_offset.top = -23;
49422-
bottom_row = status.scroll.top + status.window.height,
49426+
bottom_row = status.scroll.top + status.window.height;
4942349427
content_css["max-height"] = (bottom_row - container_offset.top - container_margin) + "px";
4942449428
break;
4942549429
case "l":
@@ -49490,13 +49494,13 @@ define('pat-tooltip',[
4949049494
container_offset.top = trigger_center.top - container_margin;
4949149495
tip_offset.top = 0;
4949249496
}
49493-
bottom_row = status.scroll.top + status.window.height,
49497+
bottom_row = status.scroll.top + status.window.height;
4949449498
content_css["max-height"] = (bottom_row - container_offset.top - container_margin) + "px";
4949549499
break;
4949649500
case "m":
4949749501
if (options.height === "max") {
49498-
container_offset.top = container_margin;
49499-
bottom_row = status.scroll.top + status.window.height,
49502+
container_offset.top = container_margin ;
49503+
bottom_row = status.scroll.top + status.window.height;
4950049504
content_css["max-height"] = (bottom_row - 2*container_margin) + "px";
4950149505
tip_offset.top = trigger_box.top - container_margin;
4950249506
} else {
@@ -49507,7 +49511,7 @@ define('pat-tooltip',[
4950749511
case "b":
4950849512
if (options.height === "max") {
4950949513
container_offset.top = 2*container_margin;
49510-
bottom_row = status.scroll.top + status.window.height,
49514+
bottom_row = status.scroll.top + status.window.height;
4951149515
content_css.height = (bottom_row - 3*container_margin) + "px";
4951249516
tip_offset.top = trigger_center.top - container_margin - tip_margin;
4951349517
} else {

0 commit comments

Comments
 (0)