Browse Source

Activation - Adding a class with the service name

Allows you to customize the block to activate an on-demand service.
Jérôme Fix 4 years ago
parent
commit
3371d6a3c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tarteaucitron.js

+ 1 - 1
tarteaucitron.js

@@ -1687,7 +1687,7 @@ var tarteaucitron = {
             engage = tarteaucitron.lang['engage-' + id];
         }
 
-        html += '<div class="tac_activate">';
+        html += '<div class="tac_activate tac_activate_' + id + '">';
         html += '   <div class="tac_float">';
         html += '      ' + engage;
         html += '      <button type="button" class="tarteaucitronAllow" id="Eng' + r + 'ed' + id + '">';