Skip to content

Commit 0b7f1a2

Browse files
committed
This should Fix Screen Resoltion Issue
1 parent b44a192 commit 0b7f1a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,6 +702,11 @@ public function clickToolbarButton($button)
702702
$I = $this;
703703
$input = strtolower($button);
704704

705+
$screenSize = explode("x",$this->config['window_size']);
706+
if($screenSize[0] <= 480)
707+
{
708+
$I->click('Toolbar');
709+
}
705710
switch($input)
706711
{
707712
case "new":

0 commit comments

Comments
 (0)