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