mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
minor fix
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import $ from 'jquery';
|
||||
import Compile, { prepareElement, resetElement } from './compile';
|
||||
import * as Forms from '../forms';
|
||||
import Forms from '../forms';
|
||||
import { hex2rgb } from '../utils/colors';
|
||||
import './presets';
|
||||
|
||||
const body = $('body');
|
||||
const FormState = Forms.default.FormState.Instance;
|
||||
const FormState = Forms.FormState.Instance;
|
||||
const compiler = (element, preview = false, callback = () => {}) => {
|
||||
prepareElement(element);
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import $ from 'jquery';
|
||||
import * as Forms from '../forms';
|
||||
import Forms from '../forms';
|
||||
|
||||
let body = $('body');
|
||||
let fields = [];
|
||||
const FormState = Forms.default.FormState.Instance;
|
||||
const FormState = Forms.FormState.Instance;
|
||||
const setField = (field, value) => {
|
||||
let name = field.prop('name');
|
||||
let tag = field.prop('tagName').toLowerCase();
|
||||
|
||||
4
themes/grav/js/admin.min.js
vendored
4
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user