Skip to content

Commit f8f92b6

Browse files
committed
Use object instead of function for onItemPressed dummy
Should not break handler on app open
1 parent b121f94 commit f8f92b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

www/IndexAppContent.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ IndexAppContent.prototype.setIndexingInterval = function (iMinutes, onSuccess, o
5858
exec(onSuccess, onError, "IndexAppContent", "setIndexingInterval", [iMinutes]);
5959
};
6060

61-
IndexAppContent.prototype.onItemPressed = function(payload) {
62-
console.error("No handler assinged");
63-
};
61+
IndexAppContent.prototype.onItemPressed = {};
6462

6563
if (!window.plugins) {
6664
window.plugins = {};

0 commit comments

Comments
 (0)