File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ $(function () {
8585 */
8686 function displayMetaData ( data ) {
8787 if ( ! data ) return
88+ metaNode . data ( data )
8889 var exif = data . exif
8990 var iptc = data . iptc
9091 if ( exif ) {
@@ -119,10 +120,9 @@ $(function () {
119120 actionsNode . show ( )
120121 }
121122 displayMetaData ( data )
122- result . data ( data )
123123 } else {
124124 // eslint-disable-next-line no-param-reassign
125- data = result . data ( )
125+ data = metaNode . data ( )
126126 }
127127 if ( data . imageHead ) {
128128 if ( data . exif ) {
@@ -154,7 +154,7 @@ $(function () {
154154 imageSmoothingEnabled : imageSmoothingNode . is ( ':checked' ) ,
155155 meta : true
156156 }
157- metaNode . hide ( ) . find ( 'table' ) . remove ( )
157+ metaNode . hide ( ) . removeData ( ) . find ( 'table' ) . remove ( )
158158 thumbNode . hide ( ) . empty ( )
159159 if ( ! loadImage ( file , updateResults , options ) ) {
160160 result
You can’t perform that action at this time.
0 commit comments