Skip to content

Commit

Permalink
Fixed copying of pm/am value in clockpicker
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Poradzewski committed Jan 31, 2019
1 parent de924ac commit 1837694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/layouts/resources/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ var AppConnector,
app.event.trigger('Clockpicker.changed', timeInput);
};
params.beforeHide = () => {
meridiemTime = $('.clockpicker-buttons-am-pm').find('a:not(.text-white-50)').text();
meridiemTime = $('.clockpicker-buttons-am-pm:visible').find('a:not(.text-white-50)').text();
};
} else {
params.afterDone = () => {
Expand Down

0 comments on commit 1837694

Please sign in to comment.