Skip to content

commento.js: get data tags when called manually

Remy Sharp requested to merge remysharp/commento:master into master

If the user calls the main function manually this can happen before the data tags have been parsed (such as no-font). This change ensures to call init if it's not been called.

Without this change, calling main means the data tags are not initialised.

Merge request reports