mirror of
				https://github.com/niklasvh/html2canvas.git
				synced 2023-08-10 21:13:10 +03:00 
			
		
		
		
	- Fix parsing of input fields on IE9
This commit is contained in:
		| @@ -1017,7 +1017,7 @@ _html2canvas.Parse = function (images, options) { | ||||
|       case "INPUT": | ||||
|         // TODO add all relevant type's, i.e. HTML5 new stuff | ||||
|         // todo add support for placeholder attribute for browsers which support it | ||||
|         if (/^(text|url|email|submit|button|reset)$/.test(element.type) && (element.value || element.placeholder).length > 0){ | ||||
|         if (/^(text|url|email|submit|button|reset)$/.test(element.type) && (element.value || element.placeholder || "").length > 0){ | ||||
|           renderFormValue(element, bounds, stack); | ||||
|         } | ||||
|         break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MoyuScript
					MoyuScript