Skip to content

Commit 144894b

Browse files
committed
Merge pull request #281 from airodactyl/fix-unmap
Fix :unmap in vimperator
2 parents 1e4c442 + 9d6cd87 commit 144894b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/content/mappings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ const Mappings = Module("mappings", {
349349
*/
350350
hasMap: function (mode, cmd, patternOrUrl) {
351351
let self = this;
352-
this._user[mode].some(function (map) map.hasName(cmd) && self._matchingUrlsTest(map, patternOrUrl));
352+
return this._user[mode].some(function (map) map.hasName(cmd) && self._matchingUrlsTest(map, patternOrUrl));
353353
},
354354

355355
/**

0 commit comments

Comments
 (0)