mirror of
https://github.com/astefanutti/decktape.git
synced 2024-12-02 14:49:58 +03:00
Improve impress.js version compatibility
This commit is contained in:
parent
ccfe36cf5a
commit
a2e68be440
@ -8,7 +8,13 @@ Impress.prototype = {
|
||||
},
|
||||
|
||||
isActive : function() {
|
||||
return typeof impress === "function";
|
||||
if (typeof impress === "function")
|
||||
return true;
|
||||
|
||||
if (document.getElementById("impress"))
|
||||
console.log("Impress JS plugin isn't compatible with impress.js version < 0.3.0");
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
slideCount : function() {
|
||||
|
Loading…
Reference in New Issue
Block a user