Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 07:45:01 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-26 07:45:01 +0300
commita1d09190e3311cfe7744e9792a4c69822ff84b39 (patch)
tree174a843e9cb68564bb875a1b0bf8b2497c22e2f5 /app/views/projects/new.html.haml
parent12430b65d44f93bb77979d7bb546814c637fd5c6 (diff)
Prevent unnecessary doubling of js events on import pages and user calendar
Diffstat (limited to 'app/views/projects/new.html.haml')
-rw-r--r--app/views/projects/new.html.haml11
1 files changed, 5 insertions, 6 deletions
diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml
index 9687c8ad87c..42af2f32239 100644
--- a/app/views/projects/new.html.haml
+++ b/app/views/projects/new.html.haml
@@ -109,9 +109,8 @@
%p Please wait a moment, this page will automatically refresh when ready.
:coffeescript
- $ ->
- $('.how_to_import_link').bind 'click', (e) ->
- e.preventDefault()
- import_modal = $(this).next(".modal").show()
- $('.modal-header .close').bind 'click', ->
- $(".modal").hide()
+ $('.how_to_import_link').bind 'click', (e) ->
+ e.preventDefault()
+ import_modal = $(this).next(".modal").show()
+ $('.modal-header .close').bind 'click', ->
+ $(".modal").hide()