Skip to content

Commit

Permalink
Actually respect the set data.task_list_title_width.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Mar 14, 2021
1 parent 3ca2303 commit bb8826a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ function load_config() {
$.get(window.location.href + "config", function(data) {
// Set the title.
$(".title-wrapper .left span").text(data.task_list_title);
// Set the title width.
$(".title-wrapper .left").width(data.task_list_title_width);

// Set up the item list.
var $this = $("ul.task-list").empty();
Expand Down

0 comments on commit bb8826a

Please sign in to comment.