Change gc.lib.addCallback to gc.lib.pushCallback (#626)

This commit is contained in:
Henrik Ingo
2017-11-01 15:00:03 +02:00
parent 2d229bf4a6
commit d6c6cd47c2
9 changed files with 22 additions and 22 deletions

View File

@@ -51,7 +51,7 @@
// Unset all this on teardown
var api = event.detail.api;
api.lib.gc.addCallback( function() {
api.lib.gc.pushCallback( function() {
document.body.classList.remove( "impress-mobile" );
var prev = document.getElementsByClassName( "prev" )[ 0 ];
var next = document.getElementsByClassName( "next" )[ 0 ];