FIX: custom CSS/HTML files were not getting downloaded on Chrome

This commit is contained in:
Arpit Jalan 2017-03-09 01:08:17 +05:30
parent 23b06d2895
commit dfd5b06c82

View File

@ -1,7 +1,7 @@
<div class="current-style {{if maximized 'maximized'}}">
<div class='wrapper'>
{{text-field class="style-name" value=model.name}}
<a class="btn export" download target="_blank" href={{downloadUrl}}>{{fa-icon "download"}} {{i18n 'admin.export_json.button_text'}}</a>
<a class="btn export" target="_blank" href={{downloadUrl}}>{{fa-icon "download"}} {{i18n 'admin.export_json.button_text'}}</a>
<div class='admin-controls'>
<ul class="nav nav-pills">