Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjaclasher committed Nov 22, 2023
1 parent 70c3634 commit 58e096b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions judge/widgets/martor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class Media:


class AdminMartorWidget(OldAdminMartorWidget):
def __init__(self, *args, **kwargs):
kwargs.setdefault('uploads_enabled', True)
super().__init__(*args, **kwargs)

class Media:
css = MartorWidget.Media.css
js = ['admin/js/jquery.init.js', 'martor-mathjax.js']

0 comments on commit 58e096b

Please sign in to comment.