diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index ce0aa0245..4b74b2396 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -228,7 +228,7 @@ const PinNotification = new Lang.Class({ _ok: function() { if (this._numeric) { - let num = parseInt(this._entry.text); + let num = parseInt(this._entry.text, 10); if (isNaN(num)) { // user reply was empty, or was invalid // cancel the operation