File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 11import { FormElementType , pluginConstructor } from './types' ;
22import { useLicensedFetures } from './utils' ;
33
4- export const PACKAGE_LICENSE_URL = 'https://formsjs.io/documentation /v1/licensing' ;
4+ export const PACKAGE_LICENSE_URL = 'https://github.com/form-js/forms.js/tree/master/docs /v1/licensing' ;
55
66export const licensePlateClass = '#' ;
77export const licensePlateStyle =
Original file line number Diff line number Diff line change @@ -595,14 +595,7 @@ export class Form {
595595 }
596596
597597 private createInvalidElement ( ) {
598- const invalid = document . createElement ( LINK_ELEMENT ) ;
599- invalid . setAttribute ( HREF_ATTRIBUTE , PACKAGE_LICENSE_URL ) ;
600- invalid . className = licensePlateClass ;
601- invalid . style . cssText = licensePlateStyle ;
602- const text = document . createElement ( SPAN_ELEMENT ) ;
603- text . innerText = getLicenseText ( this . _licenseState ) ;
604- mountElement ( text , invalid ) ;
605- if ( this . _parent ) mountElement ( invalid , this . _parent ) ;
598+
606599 }
607600
608601 /**
You can’t perform that action at this time.
0 commit comments