summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BugModal/web/bug_modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js
index dba3abc85..9e7f5f8f9 100644
--- a/extensions/BugModal/web/bug_modal.js
+++ b/extensions/BugModal/web/bug_modal.js
@@ -506,7 +506,7 @@ $(function() {
$('#attachments-add-btn')
.click(function(event) {
event.preventDefault();
- window.location.replace('attachment.cgi?bugid=' + BUGZILLA.bug_id + '&action=enter');
+ window.location.href = 'attachment.cgi?bugid=' + BUGZILLA.bug_id + '&action=enter';
});
// take button
@@ -605,7 +605,7 @@ $(function() {
$('#vote-btn')
.click(function(event) {
event.preventDefault();
- window.location.replace('page.cgi?id=voting/user.html&bug_id=' + BUGZILLA.bug_id + '#vote_' + BUGZILLA.bug_id);
+ window.location.href = 'page.cgi?id=voting/user.html&bug_id=' + BUGZILLA.bug_id + '#vote_' + BUGZILLA.bug_id;
});
// user-story