A different solution for preventing the menubar from floating in print view
This commit is contained in:
parent
9671074354
commit
fad4b48539
@ -246,5 +246,7 @@ if ($num_tables == 0) {
|
||||
*/
|
||||
PMA_printButton();
|
||||
|
||||
echo "<div id='PMA_print_view'></div>\n";
|
||||
|
||||
require './libraries/footer.inc.php';
|
||||
?>
|
||||
|
||||
@ -3694,7 +3694,7 @@ $(document).ready(function() {
|
||||
* Makes the breadcrumbs and the menu bar float at the top of the viewport
|
||||
*/
|
||||
$(document).ready(function () {
|
||||
if ($("#floating_menubar").length) {
|
||||
if ($("#floating_menubar").length && $('#PMA_print_view').length == 0) {
|
||||
$("#floating_menubar")
|
||||
.css({
|
||||
'position': 'fixed',
|
||||
|
||||
@ -441,5 +441,7 @@ foreach ($the_tables as $key => $table) {
|
||||
*/
|
||||
PMA_printButton();
|
||||
|
||||
echo "<div id='PMA_print_view'></div>\n";
|
||||
|
||||
require './libraries/footer.inc.php';
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user