The french typography mechanism should not interact with the date/hour selector

This commit is contained in:
echarp 2017-10-08 00:49:59 +02:00
parent 02a4ff4dc3
commit 418930387f
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ $(document).on 'turbolinks:load', ->
0 > ['CODE', 'PRE', 'STYLE'].indexOf this.parentNode.tagName
.filter ->
!$(this).parent().hasClass('finePre')
!$(this).parent().hasClass('finePre') &&
!$(this).parent().hasClass('start_time') &&
!$(this).parent().hasClass('end_time')
.filter ->
this.nodeValue.match(regexp)? || this.nodeValue.match(regexpPost)?