We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b72d3a4 commit 57a66dfCopy full SHA for 57a66df
1 file changed
app/views/layouts/_expose.html.erb
@@ -21,7 +21,7 @@
21
22
Object.defineProperty(QPixel, 'MAX_UPLOAD_SIZE', {
23
configurable: false,
24
- value: <%= SiteSetting['MaxRequestBodySize'] %> ?? 2 * 1024 * 1024,
+ value: <%= SiteSetting['MaxRequestBodySize'].presence || 2 * 1024 * 1024 %>,
25
writable: false,
26
});
27
</script>
0 commit comments