Skip to content

Commit

Permalink
fixed Element.clone in safari 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Oct 7, 2008
1 parent 5eab771 commit 7468a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Element/Element.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Native.implement([Element, Document], {
var collected = {}, storage = {};

//properties to check for in clone
var props = {input: 'checked', option: 'selected', textarea: 'value'};
var props = {input: 'checked', option: 'selected', textarea: (Browser.Engine.webkit419) ? 'innerHTML' : 'value'};

//get the storage object for an element, assigning if not previously retrieved
var get = function(uid){
Expand Down

0 comments on commit 7468a95

Please sign in to comment.