diff --git a/addon/edit/matchbrackets.js b/addon/edit/matchbrackets.js
index fa1ae030a5..70e1ae18c7 100644
--- a/addon/edit/matchbrackets.js
+++ b/addon/edit/matchbrackets.js
@@ -81,7 +81,7 @@
if (marks.length) {
// Kludge to work around the IE bug from issue #1193, where text
// input stops going to the textare whever this fires.
- if (ie_lt8 && cm.state.focused) cm.display.input.focus();
+ if (ie_lt8 && cm.state.focused) cm.focus();
var clear = function() {
cm.operation(function() {
diff --git a/bin/release b/bin/release
index c6b97c1c03..9b58b872d8 100755
--- a/bin/release
+++ b/bin/release
@@ -42,5 +42,5 @@ rewrite("doc/compress.html", function(cmp) {
rewrite("index.html", function(index) {
return index.replace(/\.zip">\d+\.\d+<\/a>/,
- ".zip>" + simple + "");
+ ".zip\">" + simple + "");
});
diff --git a/bower.json b/bower.json
index dad8fe2e02..c59f2d9d27 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "codemirror",
- "version":"4.13.0",
+ "version":"5.0.0",
"main": ["lib/codemirror.js", "lib/codemirror.css"],
"ignore": [
"**/.*",
diff --git a/doc/compress.html b/doc/compress.html
index 7d89eb4520..a376c86d2d 100644
--- a/doc/compress.html
+++ b/doc/compress.html
@@ -36,6 +36,7 @@
Version: