Skip to content

Commit 9d6cd87

Browse files
committed
Fix :unmap in vimperator
1 parent 81f7da6 commit 9d6cd87

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)