Drupal: externe JS knjiznice ne agregiramo.

This commit is contained in:
Robert 2021-03-22 11:00:43 +01:00
parent 5e2ff763cd
commit 155ca2ef58

View File

@ -149,8 +149,8 @@ function pro1ka_preprocess_html(&$variables) {
drupal_add_css('https://fonts.googleapis.com/css?family=Montserrat:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i&subset=latin-ext', array('group' => CSS_THEME));
// JS external
drupal_add_js('https://www.google.com/recaptcha/api.js', array('group' => JS_THEME));
drupal_add_js('https://js.stripe.com/v3/', array('group' => JS_THEME));
drupal_add_js('https://www.google.com/recaptcha/api.js', 'external');
drupal_add_js('https://js.stripe.com/v3/', 'external');
//// First, we must set up an array
//$element = array(