Putting the js inside ready function

This commit is contained in:
Gopesh Tulsyan 2014-07-01 22:10:29 +05:30
parent 1244f937e6
commit 81c538d82d

View file

@ -15,6 +15,7 @@
:javascript
$(document).ready(function(){
var count = 0;
$('#gallery-btn').click(function(){
if(count == 0){
@ -27,6 +28,8 @@
return false;
}
});
});