Commit 18ca344d authored by Sindre Sorhus's avatar Sindre Sorhus

Merge pull request #439 from clarle/yui-3.8

Removing double-escaping function call in YUI
parents 6d75cc24 663db301
......@@ -63,8 +63,7 @@ YUI.add('todo-view', function (Y) {
// Get the value from our input field while hiding it, and
// save it to our Todo when focus is lost from the field.
close: function () {
var value = this.get('inputNode').get('value');
var editedValue = Y.Escape.html(Y.Lang.trim(value));
var editedValue = this.get('inputNode').get('value');
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