File tree Expand file tree Collapse file tree 5 files changed +4
-5
lines changed
Expand file tree Collapse file tree 5 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1717 < div class ="row ">
1818 < h2 > Old HTML</ h2 >
1919 < div class ="html-edit ">
20- < textarea ng-model ="oldText " name ="old_text "> </ textarea >
20+ < textarea ng-model ="oldText " name ="old_text " ng-change =" update() " > </ textarea >
2121 </ div >
2222 < div class ="html-preview " ng-bind-html ="trustHtml(oldText) "> </ div >
2323 </ div >
2424 < div class ="row ">
2525 < h2 > New HTML</ h2 >
2626 < div class ="html-edit ">
27- < textarea ng-model ="newText " name ="new_text "> </ textarea >
27+ < textarea ng-model ="newText " name ="new_text " ng-change =" update() " > </ textarea >
2828 </ div >
2929 < div class ="html-preview " ng-bind-html ="trustHtml(newText) "> </ div >
3030 </ div >
3131
3232 < div class ="row ">
3333 < h2 > Compared HTML < span ng-show ="loading || waiting "> - {{ loading ? 'Loading' : 'Waiting' }}...</ span > </ h2 >
3434 < div class ="html-edit ">
35- < textarea ng-model ="diff " name ="diff " disabled > </ textarea >
35+ < textarea ng-model ="diff " name ="diff " disabled ng-change =" update() " > </ textarea >
3636 </ div >
3737 < div class ="html-preview " ng-bind-html ="trustHtml(diff) "> </ div >
3838 </ div >
39- < button ng-click ="update() "> ACTION</ button >
4039 </ div >
4140 </ body >
42- </ html >
41+ </ html >
You can’t perform that action at this time.
0 commit comments