Skip to content
This repository was archived by the owner on Jun 16, 2022. It is now read-only.

Commit 40940c6

Browse files
committed
Syncing touch events - clean up
1 parent d04db5e commit 40940c6

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

browser-sync-src/ghostmode.touch.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ exports.browserEvent = function (bs) {
3333

3434
var elem = event.target || event.srcElement;
3535

36-
if (elem.type === "checkbox" || elem.type === "radio") {
37-
bs.utils.forceChange(elem);
38-
return;
39-
}
40-
4136
bs.socket.emit(event.type, bs.utils.getElementData(elem));
4237

4338
} else {

lib/browser-sync.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,11 +1182,6 @@ exports.browserEvent = function (bs) {
11821182

11831183
var elem = event.target || event.srcElement;
11841184

1185-
if (elem.type === "checkbox" || elem.type === "radio") {
1186-
bs.utils.forceChange(elem);
1187-
return;
1188-
}
1189-
11901185
bs.socket.emit(event.type, bs.utils.getElementData(elem));
11911186

11921187
} else {

0 commit comments

Comments
 (0)