Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / print_preview / settings / copies_settings.js
index 1f01e69..10814f9 100644 (file)
@@ -166,7 +166,7 @@ cr.define('print_preview', function() {
     onButtonClicked_: function(delta) {
       // Assumes text field has a valid number.
       var newValue =
-          parseInt(this.getChildElement('input.copies').value) + delta;
+          parseInt(this.getChildElement('input.copies').value, 10) + delta;
       this.copiesTicketItem_.updateValue(newValue + '');
     },