Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Commit 5f8820b

Browse files
committed
v0.1.10 release, restoring activateOnClick default back to original value: false.
1 parent ed2a957 commit 5f8820b

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

dist/socialcount.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
thousandCharacter: 'K',
6868
millionCharacter: 'M',
6969
missingResultText: '-',
70-
activateOnClick: true, // default is hover
70+
activateOnClick: false, // default is hover
7171
hoverDelay: 200, // in milliseconds
7272
selectors: {},
7373
locale: (function() {

dist/socialcount.zip

-2 Bytes
Binary file not shown.

src/socialcount.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
thousandCharacter: 'K',
6464
millionCharacter: 'M',
6565
missingResultText: '-',
66-
activateOnClick: true, // default is hover
66+
activateOnClick: false, // default is hover
6767
hoverDelay: 200, // in milliseconds
6868
selectors: {},
6969
locale: (function() {

test/socialcount_test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
}
7878
});
7979

80+
test( 'Default activate on hover', function() {
81+
equal( SocialCount.activateOnClick, false );
82+
});
83+
8084
test( 'Retrieve URL', function() {
8185
equal( SocialCount.getUrl( $('#test') ), 'http://www.google.com/' );
8286
});

0 commit comments

Comments
 (0)