You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-28 07:41:55 +03:00
Fix detection whether there is SQL editor to handle
This commit is contained in:
@@ -2396,7 +2396,7 @@ $(document).ready(function() {
|
||||
*/
|
||||
$(document).ready(function() {
|
||||
var elm = $('#sqlquery');
|
||||
if (elm) {
|
||||
if (elm.length > 0) {
|
||||
codemirror_editor = CodeMirror.fromTextArea(elm[0], {lineNumbers: true, matchBrackets: true, indentUnit: 4, mode: "text/x-mysql"});
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user