Quebec flag should be better handled in production

This commit is contained in:
echarp 2017-05-27 18:44:09 +02:00
parent 323ec7d276
commit 3f88e82bfd
8 changed files with 91117 additions and 2 deletions

View File

@ -49,7 +49,7 @@
// Override for the missing quebec flag!
.flag-icon-ca-qc
background-image: url(regions/CA-QC.png)
background-image: image-url(regions/CA-QC)
body.stats h3
text-align: center

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,23 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
height: '40em',
menubar: '',
branding: false,
language: 'fr_FR',
selector: 'input.description',
content_css: '/assets/application-9cbc5ca9bda84dbd130381bbea20723c961811b1b4e33d9a18c3aaaa60f22969.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' cut copy paste | undo redo | searchreplace | link image media charmap table | code visualblocks preview fullscreen', ' removeformat | bold italic strikethrough | superscript subscript | bullist numlist | alignleft aligncenter alignright alignjustify alignnone | outdent indent'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);