Browse Source

The french typo mechanism no longer manages textarea...

remotes/origin/master
echarp 3 years ago
parent
commit
ff7dda957e
  1. 2
      app/assets/javascripts/frTypo.coffee

2
app/assets/javascripts/frTypo.coffee

@ -37,7 +37,7 @@ $(document).on 'turbolinks:load', ->
.filter ->
# Supprime les éléments pouvant utiliser des ponctuations sans nécessiter
# un espacement
0 > ['CODE', 'PRE', 'STYLE'].indexOf this.parentNode.tagName
0 > ['CODE', 'PRE', 'STYLE', 'TEXTAREA'].indexOf this.parentNode.tagName
.filter ->
!$(this).parent().hasClass('finePre') &&

Loading…
Cancel
Save