Permalink
Browse files

Allow element node to be passed

  • Loading branch information...
1 parent 8ddf10f commit b2df50a858060b8c4a5d1a399c13222690c4edf7 @niklasvh committed Jan 30, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Util.js
View
@@ -1,4 +1,5 @@
window.html2canvas = function(elements, opts) {
+ elements = (elements.length) ? elements : [elements];
var queue,
canvas,
options = {

0 comments on commit b2df50a

Please sign in to comment.