Skip to content

Commit 9552e90

Browse files
committed
! The attribute 'outputDirectory' is not allowed.
1 parent 94544ee commit 9552e90

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.github/phpunit-mariadb.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<directory suffix=".php">../sources/ext</directory>
3131
</exclude>
3232
<report>
33-
<clover outputDirectory="/tmp" outputFile="madb.xml"/>
33+
<clover outputFile="/tmp/madb.xml"/>
3434
</report>
3535
</coverage>
3636

.github/phpunit-mysql.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<directory suffix=".php">../sources/ext</directory>
3131
</exclude>
3232
<report>
33-
<clover outputDirectory="/tmp" outputFile="mydb.xml"/>
33+
<clover outputFile="/tmp/mydb.xml"/>
3434
</report>
3535
</coverage>
3636

.github/phpunit-postgres.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<directory suffix=".php">../sources/ext</directory>
3131
</exclude>
3232
<report>
33-
<clover outputDirectory="/tmp" outputFile="pgdb.xml"/>
33+
<clover outputFile="/tmp/pgdb.xml"/>
3434
</report>
3535
</coverage>
3636

.github/phpunit-webtest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<directory suffix=".php">../sources/ext</directory>
2727
</exclude>
2828
<report>
29-
<clover outputDirectory="/tmp" outputFile="web.xml"/>
29+
<clover outputFile="/tmp/web.xml"/>
3030
</report>
3131
</coverage>
3232

themes/default/scripts/script_elk.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -680,15 +680,16 @@ class SiteTooltip
680680
let viewportHeight = window.innerHeight;
681681

682682
let x = rect.left;
683-
let y = window.scrollY + rect.bottom + 5;
683+
// Initially trying to position above the element
684+
let y = window.scrollY + rect.top - tooltipHeight - 5;
684685

685-
// Don't position below if it fall off-screen, instead move it above
686-
if (rect.bottom + 5 + tooltipHeight > viewportHeight)
686+
// Don't position above if it falls off-screen, instead move it below
687+
if (rect.top - (tooltipHeight + 5) < 0)
687688
{
688-
y -= tooltipHeight + rect.height + 20;
689+
y = window.scrollY + rect.bottom + 5;
689690
}
690691

691-
tooltip.style.cssText = `left:${x}px; top:${y}px`;
692+
tooltip.style.cssText = 'left:' + x + 'px; top:' + y + 'px';
692693
}
693694

694695
/**

0 commit comments

Comments
 (0)