Make modal draggable
This commit is contained in:
@ -81,6 +81,8 @@ also, all settings from the rails model needed for the editor configuration in t
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
$('.modal-content').draggable({handle: '.modal-header'});
|
||||||
|
|
||||||
var solvedButton = $('#mark-as-solved-button');
|
var solvedButton = $('#mark-as-solved-button');
|
||||||
var addCommentExerciseButton = $('#addCommentExerciseButton');
|
var addCommentExerciseButton = $('#addCommentExerciseButton');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user