need to change the way page_count is made in presentations
This commit is contained in:
parent
b234795a36
commit
8af7c9bb6d
2 changed files with 7 additions and 4 deletions
|
@ -190,8 +190,8 @@ mod presentation_model {
|
|||
// println!("{:?}", db);
|
||||
let mut actual_page_count = new_page_count;
|
||||
if presentation_html {
|
||||
let actual_path = presentation_path.clone().to_string().trim();
|
||||
actual_page_count = reveal_js::count_slides_and_fragments(actual_path);
|
||||
let actual_path = presentation_path.clone().to_string();
|
||||
actual_page_count = reveal_js::count_slides_and_fragments(actual_path.trim());
|
||||
}
|
||||
|
||||
let presentation = self::Presentation {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue