mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-24 03:35:59 +08:00
fix jade warning
This commit is contained in:
@@ -6,7 +6,7 @@ $ ->
|
||||
button = $ @
|
||||
prehead = if button.hasClass 'btn-success' then '' else 'un'
|
||||
$.post "/plan/#{prehead}subscribe/", JSON.stringify {
|
||||
plan: button.parent().data 'type'
|
||||
plan: button.parent().parent().data 'type'
|
||||
}
|
||||
.success ->
|
||||
location.reload()
|
||||
|
||||
Reference in New Issue
Block a user