Skip to content

Commit 3cdb4f7

Browse files
committed
white space cleanup
1 parent eb568a6 commit 3cdb4f7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

plugins/040-apps/app/assets/javascripts/apps.js.coffee

+2-6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ Apps =
55
$(document).on "ajax:beforeSend", ".install-app-in-background, .uninstall-app-in-background", ->
66
$(".install-button").hide()
77
_this.toggle_spinner this
8-
$('.app').each ->
8+
$('.app').each ->
99
$(this).find('.install-app-in-background').addClass('inactive')
1010

11-
1211
$(document).on "ajax:success", ".install-app-in-background, .uninstall-app-in-background", (data, results) ->
1312
_this.update_progress results["identifier"], results["content"]
1413
_this.trace_progress results["identifier"]
@@ -64,15 +63,12 @@ Apps =
6463
url: _this.app(finder).data("progressPath")
6564
success: (data) ->
6665
_this.update_progress_message finder, data["content"]
67-
6866
if data["app_content"]
6967
_this.update_installed_app finder, data["app_content"]
70-
$('.app').each ->
68+
$('.app').each ->
7169
$(this).find('.install-app-in-background').removeClass('inactive')
72-
7370
else if data["uninstalled"]
7471
_this.update_uninstalled_app finder
75-
7672
else
7773
setTimeout (-> Apps.trace_progress(finder)), 2000
7874

0 commit comments

Comments
 (0)