Skip to content

Commit 81a8288

Browse files
committed
FIXED: term//2: make operators a trigger.
1 parent 00ce145 commit 81a8288

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

term_html.pl

+5-3
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@
347347
'data-name'(Functor)
348348
| Attrs
349349
],
350-
[ span(class('pl-functor'), S),
350+
[ span(class(['pl-functor', 'pl-trigger']), S),
351351
\space(Functor, Arg, o, a, FuncOptions, ArgOptions),
352352
\op_arg(Arg, ArgOptions)
353353
])).
@@ -407,14 +407,16 @@
407407
quote_op(Functor, S, Options),
408408
extra_classes(Term, Classes, Attrs, Options.put(op, infix))
409409
},
410-
html(span([ class(['pl-compound', 'pl-op', 'pl-infix-op'|Classes]),
410+
html(span([ class([ 'pl-compound', 'pl-adaptive', 'pl-op', 'pl-infix-op'
411+
| Classes
412+
]),
411413
'data-arity'(2),
412414
'data-name'(Functor)
413415
| Attrs
414416
],
415417
[ \op_arg(Left, LeftOptions),
416418
Space,
417-
span(class('pl-functor'), S),
419+
span(class(['pl-functor', 'pl-trigger']), S),
418420
Space,
419421
\op_arg(Right, RightOptions)
420422
])).

0 commit comments

Comments
 (0)