Remove another unnecessary build type test.
This commit is contained in:
parent
0fdef3fcfa
commit
8026b0a320
@ -156,11 +156,9 @@ Settings =
|
||||
a = $.el 'a',
|
||||
download: "<%= meta.name %> v#{g.VERSION}-#{data.date}.json"
|
||||
href: "data:application/json;base64,#{btoa unescape encodeURIComponent JSON.stringify data, null, 2}"
|
||||
<% if (type === 'userscript') { %>
|
||||
p = $ '.imp-exp-result', Settings.dialog
|
||||
$.rmAll p
|
||||
$.add p, a
|
||||
<% } %>
|
||||
a.click()
|
||||
import: ->
|
||||
$('input[type=file]', @parentNode).click()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user