Skip to content

Commit 7b063d2

Browse files
committed
pushstate tweak
1 parent 7d06a59 commit 7b063d2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

lib/PushstateHelper.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ define(['jquery'], function($) {
3131

3232
o = $.extend({
3333
app: null,
34-
use_hash: false,
35-
propagate_get_params: true
34+
use_hash: false
3635
}, options);
3736

3837
internal = {
@@ -74,11 +73,6 @@ define(['jquery'], function($) {
7473
data: data ? data : {}
7574
};
7675

77-
if (o.propagate_get_params) {
78-
// merge GET params from the current url into the event data
79-
$.extend(_event_data, PushstateHelper.get_get_params());
80-
}
81-
8276
if (!_event_data.data.previous_path) {
8377
_event_data.data.previous_path = internal.previous_path;
8478
}

0 commit comments

Comments
 (0)