mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 02:27:34 -07:00
r433
git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@433 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
4e023a59ec
commit
838dffe759
1 changed files with 4 additions and 4 deletions
|
@ -338,10 +338,10 @@ $(document).ready(function(){
|
|||
var cArray = '["http:\/\/torrentpier.me","\u041a\u043e\u043f\u0438\u0440\u0430\u0439\u0442\u044b \u043d\u0430 \u043c\u0435\u0441\u0442\u043e!!!"]';
|
||||
var cArray = JSON.parse(cArray);
|
||||
|
||||
var str = $('#t2t').html();
|
||||
if(str.indexOf(cArray[0]) < 0){
|
||||
alert(cArray[1]);
|
||||
}
|
||||
var str = $('#t2t').html() || '';
|
||||
if (str.indexOf(cArray[0]) < 0 && window.location.href.indexOf('/admin/') < 0) {
|
||||
alert(cArray[1]);
|
||||
}
|
||||
});
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue