Skip to content

Commit

Permalink
Got rid of inline JS on main.php
Browse files Browse the repository at this point in the history
  • Loading branch information
roccivic committed Oct 30, 2012
1 parent 255eb43 commit ee84dff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/functions.js
Expand Up @@ -3120,7 +3120,7 @@ $(function() {
$.getJSON('http://www.phpmyadmin.net/home_page/version.json', {}, PMA_current_version);
}

if (typeof is_git_revision != "undefined") {
if ($('#is_git_revision').length > 0) {
setTimeout(PMA_display_git_revision, 10);
}

Expand Down
2 changes: 1 addition & 1 deletion main.php
Expand Up @@ -20,7 +20,7 @@
PMA_printGitRevision();
exit;
}
PMA_addJSVar('is_git_revision', true);
echo '<div id="is_git_revision"></div>';
}

// Handles some variables that may have been sent by the calling script
Expand Down

0 comments on commit ee84dff

Please sign in to comment.