Commit 663db301 authored by Clarence Leung's avatar Clarence Leung

Removing double-escaping function call.

parent 18b7f452
...@@ -63,8 +63,7 @@ YUI.add('todo-view', function (Y) { ...@@ -63,8 +63,7 @@ YUI.add('todo-view', function (Y) {
// Get the value from our input field while hiding it, and // Get the value from our input field while hiding it, and
// save it to our Todo when focus is lost from the field. // save it to our Todo when focus is lost from the field.
close: function () { close: function () {
var value = this.get('inputNode').get('value'); var editedValue = this.get('inputNode').get('value');
var editedValue = Y.Escape.html(Y.Lang.trim(value));
this.get('container').removeClass('editing'); this.get('container').removeClass('editing');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment