@@ -44675,7 +44675,11 @@ define('pat-navigation',[
44675
44675
var $a = $(this),
44676
44676
$li = $a.parents("li:first"),
44677
44677
url = $a.attr("href"),
44678
- path = _._pathfromurl(url);
44678
+ path;
44679
+ if (typeof url === "undefined") {
44680
+ return;
44681
+ }
44682
+ path = _._pathfromurl(url);
44679
44683
log.debug("checking url:", url, "extracted path:", path);
44680
44684
if (_._match(curpath, path)) {
44681
44685
log.debug("found match", $li);
@@ -48837,7 +48841,7 @@ define('pat-toggle',[
48837
48841
victims=document.querySelectorAll(options[i].selector);
48838
48842
if (!victims.length)
48839
48843
continue;
48840
- state=options[i].toggler.get(victims[0]),
48844
+ state=options[i].toggler.get(victims[0]);
48841
48845
last_state=options[i].value_storage.get();
48842
48846
if (state!==last_state && last_state !== null)
48843
48847
for (var j=0; j<victims.length; j++)
@@ -49419,7 +49423,7 @@ define('pat-tooltip',[
49419
49423
case "t":
49420
49424
container_offset.top = trigger_box.bottom + tip_margin;
49421
49425
tip_offset.top = -23;
49422
- bottom_row = status.scroll.top + status.window.height,
49426
+ bottom_row = status.scroll.top + status.window.height;
49423
49427
content_css["max-height"] = (bottom_row - container_offset.top - container_margin) + "px";
49424
49428
break;
49425
49429
case "l":
@@ -49490,13 +49494,13 @@ define('pat-tooltip',[
49490
49494
container_offset.top = trigger_center.top - container_margin;
49491
49495
tip_offset.top = 0;
49492
49496
}
49493
- bottom_row = status.scroll.top + status.window.height,
49497
+ bottom_row = status.scroll.top + status.window.height;
49494
49498
content_css["max-height"] = (bottom_row - container_offset.top - container_margin) + "px";
49495
49499
break;
49496
49500
case "m":
49497
49501
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;
49500
49504
content_css["max-height"] = (bottom_row - 2*container_margin) + "px";
49501
49505
tip_offset.top = trigger_box.top - container_margin;
49502
49506
} else {
@@ -49507,7 +49511,7 @@ define('pat-tooltip',[
49507
49511
case "b":
49508
49512
if (options.height === "max") {
49509
49513
container_offset.top = 2*container_margin;
49510
- bottom_row = status.scroll.top + status.window.height,
49514
+ bottom_row = status.scroll.top + status.window.height;
49511
49515
content_css.height = (bottom_row - 3*container_margin) + "px";
49512
49516
tip_offset.top = trigger_center.top - container_margin - tip_margin;
49513
49517
} else {
0 commit comments