Skip to content

Commit 0d674cd

Browse files
committed
Merge pull request #558 from Martii/postFixes
Missed things Auto-merge
2 parents 5c72f26 + 0cb1712 commit 0d674cd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

controllers/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ var getScriptPageTasks = function (aOptions) {
260260
}
261261

262262
flagLib.getThreshold(Script, script, aAuthor, function (aThreshold) {
263-
aOptions.threshold = aThreshold.toString();
263+
aOptions.threshold = aThreshold || 0;
264264
aCallback();
265265
});
266266
});

views/includes/scriptModals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h4 class="modal-title">Flag {{script.fullName}}</h4>
77
</div>
88
<div class="modal-body">
9-
<p>Are you sure you want to flag this script for inspection by a Moderator?</p>
9+
<p>Are you sure you want to flag this script for potential inspection by a Moderator?</p>
1010
</div>
1111
<div class="modal-footer">
1212
<form action="{{{flagUrl}}}" method="get">

views/includes/userModals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h4 class="modal-title">Flag {{user.name}}</h4>
77
</div>
88
<div class="modal-body">
9-
<p>Are you sure you want to flag this user for inspection by a Moderator?</p>
9+
<p>Are you sure you want to flag this user for potential inspection by a Moderator?</p>
1010
</div>
1111
<div class="modal-footer">
1212
<form action="{{{flagUrl}}}" method="get">

0 commit comments

Comments
 (0)