Remove trailing whitespace
This commit is contained in:
@@ -4,7 +4,7 @@ var bookmarks = {};
|
|||||||
|
|
||||||
function apiCall(method, path, params, cb) {
|
function apiCall(method, path, params, cb) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "/api" + path,
|
url: "/api" + path,
|
||||||
method: method,
|
method: method,
|
||||||
cache: false,
|
cache: false,
|
||||||
data: params,
|
data: params,
|
||||||
@@ -113,8 +113,8 @@ function showQueryHistory() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
buildTable({ columns: ["id", "query", "timestamp"], rows: rows });
|
buildTable({ columns: ["id", "query", "timestamp"], rows: rows });
|
||||||
|
|
||||||
setCurrentTab("table_history");
|
setCurrentTab("table_history");
|
||||||
$("#input").hide();
|
$("#input").hide();
|
||||||
$("#output").addClass("full");
|
$("#output").addClass("full");
|
||||||
$("#results").addClass("no-crop");
|
$("#results").addClass("no-crop");
|
||||||
@@ -544,7 +544,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
var button = $(this).children("button");
|
var button = $(this).children("button");
|
||||||
var url = getConnectionString();
|
var url = getConnectionString();
|
||||||
|
|
||||||
if (url.length == 0) {
|
if (url.length == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -572,7 +572,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
initEditor();
|
initEditor();
|
||||||
addShortcutTooltips();
|
addShortcutTooltips();
|
||||||
|
|
||||||
apiCall("get", "/connection", {}, function(resp) {
|
apiCall("get", "/connection", {}, function(resp) {
|
||||||
if (resp.error) {
|
if (resp.error) {
|
||||||
connected = false;
|
connected = false;
|
||||||
@@ -586,4 +586,4 @@ $(document).ready(function() {
|
|||||||
$("#main").show();
|
$("#main").show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user