Skip to content

Commit

Permalink
Remove whitespace from expression to url encode
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardball committed Nov 30, 2016
1 parent d68abde commit 7c38327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/3d-surface-plotter/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

updateURL: function(){
var data = {
expression: this.ui.expression.value,
expression: this.ui.expression.value.replace(/ /g,''), // strip white space because $.param encodes it as +
xRange: this.ui.xRange.value,
yRange: this.ui.yRange.value,
resolution: this.ui.resolution.value
Expand Down

0 comments on commit 7c38327

Please sign in to comment.