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

View File

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