Просмотр исходного кода

Specify the useExternalCss config into the README.md

The new configuration variable has been added to the README.md

By default, it is set to false.
If set to true, the local tarteaucitron.css file will not be loaded.

The name of the config might not be self explanatory. I would have recommended changing it to "loadLocalCss". (with true by default)
Encre Informatique 6 лет назад
Родитель
Сommit
9f65d06cd5
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -47,6 +47,7 @@ tarteaucitron.init({
 
     "removeCredit": false, /* Remove credit link */
     "moreInfoLink": true, /* Show more info link */
+    "useExternalCss": false /* If false, the tarteaucitron.css file will be loaded */
 
     //"cookieDomain": ".my-multisite-domaine.fr" /* Shared cookie for subdomain website */
 });