MDL-67264 core_templates: If classes exists render it out
authorMathew May <mathewm@hotmail.co.nz>
Wed, 22 Jan 2020 06:07:57 +0000 (14:07 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Mon, 10 Feb 2020 00:14:16 +0000 (08:14 +0800)
lib/templates/modal.mustache

index 1e8586b..473821c 100644 (file)
@@ -41,7 +41,7 @@
 }}
 
 <div class="modal moodle-has-zindex" data-region="modal-container" aria-hidden="true" role="dialog">
-    <div class="modal-dialog {{$classes}}{{/classes}}" role="document" data-region="modal" aria-labelledby="{{uniqid}}-modal-title" tabindex="0">
+    <div class="modal-dialog {{$classes}}{{classes}}{{/classes}}" role="document" data-region="modal" aria-labelledby="{{uniqid}}-modal-title" tabindex="0">
         <div class="modal-content">
             <div class="modal-header {{$headerclasses}}{{headerclasses}}{{/headerclasses}}" data-region="header">