Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Save bytes

  • Loading branch information...
commit b959ba41c698e26ac2f2a4c36d0b907cc689202c 1 parent 2212579
Jakub Vrána authored

Showing 2 changed files with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +2 2 adminer/schema.inc.php
  2. +1 1  adminer/static/editing.js
4 adminer/schema.inc.php
@@ -51,8 +51,8 @@
51 51 ?>
52 52 <div id="schema" style="height: <?php echo $top; ?>em;" onselectstart="return false;">
53 53 <script type="text/javascript">
54   -tablePos = {<?php echo implode(",", $table_pos_js) . "\n"; ?>};
55   -em = document.getElementById('schema').offsetHeight / <?php echo $top; ?>;
  54 +var tablePos = {<?php echo implode(",", $table_pos_js) . "\n"; ?>};
  55 +var em = document.getElementById('schema').offsetHeight / <?php echo $top; ?>;
56 56 document.onmousemove = schemaMousemove;
57 57 document.onmouseup = function (ev) {
58 58 schemaMouseup(ev, '<?php echo js_escape(DB); ?>');
2  adminer/static/editing.js
@@ -393,7 +393,7 @@ function indexesAddColumn(field, prefix) {
393 393
394 394
395 395
396   -var that, x, y, em, tablePos;
  396 +var that, x, y; // em and tablePos defined in schema.inc.php
397 397
398 398 /** Get mouse position
399 399 * @param HTMLElement

0 comments on commit b959ba4

Please sign in to comment.
Something went wrong with that request. Please try again.