Skip to content

Commit 1038bdb

Browse files
committed
Merge pull request #9 from lozy219/master
add colon to the module code h3 selector
2 parents 2387d05 + a6bb435 commit 1038bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

claims/claim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var Claim = function () {
3434
var that = this;
3535

3636
// Ensure claiming for correct module!
37-
if ($('h3:contains("Module")').text().substr(8) !== config.module) {
37+
if ($('h3:contains("Module:")').text().substr(8) !== config.module) {
3838
alert('Ensure that the module in config matches that of this page.');
3939
// Else you will have invisible claims taking up your time.
4040
throw new Error('Incorrect module in config.');

0 commit comments

Comments
 (0)