Skip to content

Commit

Permalink
Fixed initial load page up/down issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
cubiclesoft committed Mar 30, 2019
1 parent eb0361e commit 8a319ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions support/admin.js
Expand Up @@ -47,4 +47,6 @@ $(function() {
scrolltarget.scrollLeft += o.deltaX * mult;
}
});

$('#contentwrap').focus();
});
4 changes: 2 additions & 2 deletions support/page_basics.php
Expand Up @@ -399,7 +399,7 @@ function BB_InitLayouts()
</head>
<body>
<div id="menuwrap">@MENU@</div>
<div id="contentwrap">@CONTENT@</div>
<div id="contentwrap" tabindex="-1">@CONTENT@</div>
</body>
</html>
<?php
Expand All @@ -423,7 +423,7 @@ function BB_InitLayouts()
<?php if (function_exists("BB_InjectLayoutHead")) BB_InjectLayoutHead(); ?>
</head>
<body>
<div id="contentwrap" class="nomenu">@CONTENT@</div>
<div id="contentwrap" class="nomenu" tabindex="-1">@CONTENT@</div>
</body>
</html>
<?php
Expand Down

0 comments on commit 8a319ad

Please sign in to comment.