瀏覽代碼

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');