Browse code

Odstraneny popup po uspesom prihlaseni

Cinan Rakosnik authored on 23/05/2013 at 13:26:16
Showing 2 changed files
... ...
@@ -10,17 +10,6 @@ $().ready(->
10 10
     App.UI.filterContacts(searchTerm)
11 11
   )
12 12
 
13
-  $('.chat-alert .close').click((e) ->
14
-    e.preventDefault()
15
-    $('.chat-alert').fadeOut(250, ->
16
-      $(this).html('').show()
17
-    )
18
-  )
19
-
20
-  setTimeout(->
21
-    $('.chat-alert .close').click()
22
-  , 2000);
23
-
24 13
   $('#add-contact').click((e) ->
25 14
     e.preventDefault()
26 15
     $('#js-popup .close').click()
... ...
@@ -7,10 +7,6 @@
7 7
     I18n.locale = "#{I18n.locale}";
8 8
 
9 9
 %div.chat-alert.alert-notice.no-top-border#js-popup
10
-  - if flash[:notice]
11
-    %a.close.icon-x{ alt: "#{I18n.t('chat.close')}", href: '#' }
12
-    %h1
13
-      = flash[:notice]
14 10
 
15 11
 .container
16 12
   .leftside.left