aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfat <[email protected]>2013-08-17 19:07:59 -0700
committerfat <[email protected]>2013-08-17 19:07:59 -0700
commit06c3d87973207d4e9c4551572a8db0a08e422f37 (patch)
tree6df539072ca08ea441702cab789ce895a5b0fd9d
parent9828aa5b4d9b194baac77ed870fe98ac1146c08e (diff)
downloadbootstrap-06c3d87973207d4e9c4551572a8db0a08e422f37.tar.xz
bootstrap-06c3d87973207d4e9c4551572a8db0a08e422f37.zip
use correct arg name
-rw-r--r--assets/js/customizer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/customizer.js b/assets/js/customizer.js
index c5cfedd99..e1d7507e0 100644
--- a/assets/js/customizer.js
+++ b/assets/js/customizer.js
@@ -34,8 +34,8 @@ window.onload = function () { // wait for load in a dumb way because B-0
dataType: 'json',
data: JSON.stringify(data)
})
- .success(function(err) {
- history.replaceState(false, document.title, window.location.origin + window.location.pathname + '?id=' + e.id)
+ .success(function(result) {
+ history.replaceState(false, document.title, window.location.origin + window.location.pathname + '?id=' + result.id)
})
.error(function(err) {
showError('<strong>Error</strong> Could not save gist file, configuration not saved.', err)