Reputation: 107
Hoping you can help me... I'm getting the following javascript error in IE7:
Expected Identifier, String, or Number
This is my code:
<script type="text/javascript">
$(function(){
$('#container').masonry({
// options
itemSelector : '.full',
});
});
</script>
Upvotes: 0
Views: 62
Reputation: 23208
remove , from line itemSelector : '.full',
.
comma after last key value pair in JavaScript object will through exception in IE 7.
<script type="text/javascript">
$(function(){
$('#container').masonry({
// options
itemSelector : '.full'
});
});
</script>
Upvotes: 2