Skip to content

Commit

Permalink
replaced id responsivetable with class jsresponsive
Browse files Browse the repository at this point in the history
Signed-off-by: Manish Bisht <manish.bisht490@gmail.com>
  • Loading branch information
manishbisht committed Jul 10, 2017
1 parent 9c105d4 commit 46b1860
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/db_qbe.js
Expand Up @@ -76,5 +76,5 @@ AJAX.registerOnload('db_qbe.js', function () {
});

var windowwidth = $(window).width();
$('#responsivetable').css('max-width', (windowwidth - 35 ) + 'px');
$('.jsresponsive').css('max-width', (windowwidth - 35 ) + 'px');
});
2 changes: 1 addition & 1 deletion js/server_privileges.js
Expand Up @@ -474,5 +474,5 @@ AJAX.registerOnload('server_privileges.js', function () {
}

var windowwidth = $(window).width();
$('#responsivetable').css('max-width', (windowwidth - 35 ) + 'px');
$('.jsresponsive').css('max-width', (windowwidth - 35 ) + 'px');
});
2 changes: 1 addition & 1 deletion js/tbl_structure.js
Expand Up @@ -520,7 +520,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
}

var windowwidth = $(window).width();
$('#responsivetable').css('max-width', (windowwidth - 35 ) + 'px');
$('.jsresponsive').css('max-width', (windowwidth - 35 ) + 'px');
});
AJAX.registerTeardown('tbl_structure.js', function () {
if ($('#fieldsForm').hasClass('HideStructureActions')) {
Expand Down
2 changes: 1 addition & 1 deletion libraries/classes/DbQbe.php
Expand Up @@ -1816,7 +1816,7 @@ public function getSelectionForm()
$html_output .= $this->_getSavedSearchesField();
}

$html_output .= '<div id="responsivetable" class="responsivetable">';
$html_output .= '<div class="responsivetable jsresponsive">';
$html_output .= '<table class="data" style="width: 100%;">';
// Get table's <tr> elements
$html_output .= $this->_getColumnNamesRow();
Expand Down
2 changes: 1 addition & 1 deletion libraries/server_privileges.lib.php
Expand Up @@ -2349,7 +2349,7 @@ function PMA_getHtmlForSpecificDbPrivileges($db)
. "\n"
. '</legend>' . "\n";

$html_output .= '<div id="responsivetable" class="responsivetable">';
$html_output .= '<div class="responsivetable jsresponsive">';
$html_output .= '<table id="dbspecificuserrights" class="data">';
$html_output .= PMA_getHtmlForPrivsTableHead();
$privMap = PMA_getPrivMap($db);
Expand Down

0 comments on commit 46b1860

Please sign in to comment.