Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This simple plugin helps you centralize your DOM element against their parent el

## Installation
- First, make sure you are using valid [DOCTYPE](http://bit.ly/hQK1Rk)
- Include nessesary JS files
- Include necessary JS files

<!-- -->

Expand Down
2 changes: 1 addition & 1 deletion jquery.center.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}

$.fn.center = function( opt ){
var $w = $( window ); // cache gobal
var $w = $( window ); // cache global
var scrollTop = $w.scrollTop();

return this.each( function(){
Expand Down