Permalink
Browse files

Merge branch 'MDL-59015-master' of git://github.com/mihailges/moodle

  • Loading branch information...
dmonllao committed Aug 13, 2018
2 parents 66be962 + 4e829d2 commit 93e0b1593c0865a901bea02f39f5c3edf5862e44

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -101,6 +101,8 @@ define(['jquery', 'core/notification', 'core/templates',
if (!hasLoadedAll(root)) {
// Only enable the button if we've got more events to load.
viewMoreButton.prop('disabled', false);
} else {
viewMoreButton.addClass('hidden');
}
};
@@ -86,7 +86,7 @@
// If there was only one hidden block then we have no more to show now
// so we can disable the button.
if (blocks && blocks.length == 1) {
button.prop('disabled', true);
button.addClass('hidden');
}
if (data) {

0 comments on commit 93e0b15

Please sign in to comment.