File tree Expand file tree Collapse file tree 8 files changed +24
-17
lines changed Expand file tree Collapse file tree 8 files changed +24
-17
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,5 @@ module.exports = {
13
13
'no-implicit-this' : false ,
14
14
'no-unnecessary-concat' : false ,
15
15
quotes : false ,
16
- 'require-button-type' : false ,
17
16
} ,
18
17
} ;
Original file line number Diff line number Diff line change 39
39
40
40
<div class =' actions' >
41
41
{{ #if api_token.isNew }}
42
- <button class =' small yellow-button'
43
- disabled ={{ disableCreate }}
44
- title ={{ if emptyName " You must specify a name" " " }}
45
- {{ action " saveToken" }} >
42
+ <button
43
+ type =" button"
44
+ class =' small yellow-button'
45
+ disabled ={{ disableCreate }}
46
+ title ={{ if emptyName " You must specify a name" " " }}
47
+ {{ action " saveToken" }}
48
+ >
46
49
Create
47
50
</button >
48
51
{{ else }}
49
- <button class =' small tan-button'
50
- disabled ={{ api_token.isSaving }}
51
- {{ action " revokeToken" }} >
52
+ <button
53
+ type =" button"
54
+ class =' small tan-button'
55
+ disabled ={{ api_token.isSaving }}
56
+ {{ action " revokeToken" }}
57
+ >
52
58
Revoke
53
59
</button >
54
60
{{ /if }}
Original file line number Diff line number Diff line change 21
21
{{ /if }}
22
22
<div class =' actions' >
23
23
<button type =' submit' class =' small yellow-button space-right' disabled ={{ disableSave }} >Save</button >
24
- <button class =' small yellow-button' {{ action ' cancelEdit' }} >Cancel</button >
24
+ <button type = " button " class =' small yellow-button' {{ action ' cancelEdit' }} >Cancel</button >
25
25
</div >
26
26
</form >
27
27
</div >
39
39
</dd >
40
40
</div >
41
41
<div class =' actions' >
42
- <button class =' small yellow-button space-left' {{ action ' editEmail' }} >Edit</button >
42
+ <button type = " button " class =' small yellow-button space-left' {{ action ' editEmail' }} >Edit</button >
43
43
</div >
44
44
</div >
45
45
{{ #if emailNotVerified }}
51
51
<p class =' small-text' >Your email has not yet been verified.</p >
52
52
</div >
53
53
<div class =' actions' >
54
- <button class =' small yellow-button space-left' {{ action ' resendEmail' }} disabled ={{ disableResend }} >{{ resendButtonText }} </button >
54
+ <button type =" button" class =' small yellow-button space-left' {{ action ' resendEmail' }} disabled ={{ disableResend }} >
55
+ {{ resendButtonText }}
56
+ </button >
55
57
</div >
56
58
</div >
57
59
{{ /if }}
Original file line number Diff line number Diff line change 30
30
<span class =' small' >{{ moment-from-now invite.created_at }} </span >
31
31
</div >
32
32
<div class =' actions' >
33
- <button class =' small yellow-button' {{ action ' acceptInvitation' invite }} >Accept</button >
34
- <button class =' small yellow-button' {{ action ' declineInvitation' invite }} >Decline</button >
33
+ <button type = " button " class =' small yellow-button' {{ action ' acceptInvitation' invite }} >Accept</button >
34
+ <button type = " button " class =' small yellow-button' {{ action ' declineInvitation' invite }} >Decline</button >
35
35
</div >
36
36
{{ #if isError }}
37
37
<div class =' label' >
Original file line number Diff line number Diff line change 64
64
{{ /if }}
65
65
</div >
66
66
<div class =' stats downloads' >
67
- <button class =' remove-owner small yellow-button' {{ action ' removeOwner' user }} >Remove</button >
67
+ <button type = " button " class =' remove-owner small yellow-button' {{ action ' removeOwner' user }} >Remove</button >
68
68
</div >
69
69
</div >
70
70
{{ /each }}
Original file line number Diff line number Diff line change 10
10
11
11
<div class =' right' >
12
12
{{ #if session.currentUser }}
13
- <button class =' tan-button' {{ action ' toggleFollow' this }} >
13
+ <button type = " button " class =' tan-button' {{ action ' toggleFollow' this }} >
14
14
{{ #if fetchingFollowing }}
15
15
<img src =" /assets/ajax-loader.gif" >
16
16
{{ else }}
Original file line number Diff line number Diff line change 74
74
</span >
75
75
{{ else }}
76
76
{{ #if hasMore }}
77
- <button class =' load-more' {{ action ' loadMore' }} >
77
+ <button type = " button " class =' load-more' {{ action ' loadMore' }} >
78
78
Load More
79
79
</button >
80
80
{{ /if }}
Original file line number Diff line number Diff line change 72
72
<div class =' me-subheading' >
73
73
<h2 >API Access</h2 >
74
74
<div class =' right' >
75
- <button class =' yellow-button' disabled ={{ disableCreate }} {{ action " startNewToken" }} >New Token</button >
75
+ <button type = " button " class =' yellow-button' disabled ={{ disableCreate }} {{ action " startNewToken" }} >New Token</button >
76
76
</div >
77
77
</div >
78
78
You can’t perform that action at this time.
0 commit comments