diff --git a/IPython/html/static/notebook/js/outputarea.js b/IPython/html/static/notebook/js/outputarea.js
index cb8d7b3..2b3e9bf 100644
--- a/IPython/html/static/notebook/js/outputarea.js
+++ b/IPython/html/static/notebook/js/outputarea.js
@@ -908,9 +908,10 @@ define([
this.append_output(outputs[i]);
}
if (metadata.collapsed !== undefined) {
- this.collapsed = metadata.collapsed;
if (metadata.collapsed) {
this.collapse();
+ } else {
+ this.expand();
}
}
if (metadata.scrolled !== undefined) {