Преглед на файлове

modale register bug fix

Bachir Soussi Chiadmi преди 11 години
родител
ревизия
09d80d2c63
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      js/materio_user.js

+ 4 - 0
js/materio_user.js

@@ -67,6 +67,10 @@ MaterioUser = function(){
           $(this).remove();
         });
 
+        $('.modal-content').bind('click', function(event) {
+         event.stopPropagation();
+        });
+
         // doesn't work
         // Drupal.attachBehaviors('bodi>.modal-wrapper');