Skip to content

Commit 5f329c4

Browse files
committed
Fix invisible prompt widget
Seems like -moz-calc was removed with FF 53. Normal "calc" is available since FF 16.
1 parent 9e51881 commit 5f329c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/commandline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ const CommandLine = Module("commandline", {
265265
_setPrompt: function (val, highlightGroup) {
266266
this._promptWidget.value = val;
267267
this._promptWidget.collapsed = (val == "");
268-
this._promptWidget.style.maxWidth = "-moz-calc(1em * " + val.length + ")";
268+
this._promptWidget.style.maxWidth = "calc(1em * " + val.length + ")";
269269
},
270270

271271
/**

0 commit comments

Comments
 (0)