Skip to content

Commit 66397b6

Browse files
authored
Merge pull request #13 from cloudoptlab/feat/1.4.1/add-safe-bookmark
feat(bookmark): The Cloudopt Search supports bookmark search
2 parents 003b596 + d916ec4 commit 66397b6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

js/cloudopt-bookmark.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,21 @@ $(document).ready(function () {
7676

7777
});
7878

79+
} else if (host.startWith("s.cloudopt.net")) {
80+
81+
keyword = $("#q").val();
82+
83+
insertClass = ".default-container";
84+
85+
sendSearch();
86+
87+
$("#q").bind('input propertychange', function () {
88+
89+
keyword = $("#q").val();
90+
91+
sendSearch();
92+
93+
});
7994
}
8095

8196
});

0 commit comments

Comments
 (0)