Skip to content

Commit

Permalink
Merge pull request #881 from Shadow243/add-sortablejs-in-prod-mode
Browse files Browse the repository at this point in the history
Add SortableJs to  $js_lib  in config_gen to combine_includes
  • Loading branch information
kroky authored Feb 6, 2024
2 parents 7a96f1f + 361a846 commit bd55fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/config_gen.php
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ function combine_includes($js, $js_compress, $css, $css_compress, $settings) {
$js_lib .= file_get_contents("third_party/resumable.min.js");
$js_lib .= file_get_contents("third_party/ays-beforeunload-shim.js");
$js_lib .= file_get_contents("third_party/jquery.are-you-sure.js");
$js_lib .= file_get_contents("third_party/sortable.min.js");
file_put_contents('tmp.js', $js);
$js_out = $js_lib.compress($js, $js_compress, 'tmp.js');
$js_hash = build_integrity_hash($js_out);
Expand Down

0 comments on commit bd55fa3

Please sign in to comment.