Removing touch callout on classifier training.

This commit is contained in:
Samuel Clay 2012-12-08 13:08:31 -08:00
parent 51f396532e
commit 216a724717
3 changed files with 3 additions and 5 deletions

View file

@ -298,7 +298,6 @@
NSMutableArray *tag_strings = [NSMutableArray array];
for (NSString *tag in tag_array) {
int tag_score = [[[appDelegate.activeClassifiers objectForKey:@"tags"] objectForKey:tag] intValue];
NSLog(@"Tag %@: %d", tag, tag_score);
NSString *tag_html = [NSString stringWithFormat:@"<a href=\"http://ios.newsblur.com/classify-tag/%@\" "
"class=\"NB-story-tag %@\">%@</a>",
tag,
@ -868,12 +867,10 @@ shouldStartLoadWithRequest:(NSURLRequest *)request
return NO;
} else if ([action isEqualToString:@"classify-author"]) {
NSString *author = [NSString stringWithFormat:@"%@", [urlComponents objectAtIndex:2]];
NSLog(@"Author: %@", author);
[self toggleAuthorClassifier:author];
return NO;
} else if ([action isEqualToString:@"classify-tag"]) {
NSString *tag = [NSString stringWithFormat:@"%@", [urlComponents objectAtIndex:2]];
NSLog(@"Tag: %@", tag);
[self toggleTagClassifier:tag];
return NO;
} else if ([action isEqualToString:@"show-profile"]) {

View file

@ -10,8 +10,8 @@
// #define BACKGROUND_REFRESH_SECONDS -5
#define BACKGROUND_REFRESH_SECONDS -10*60
#define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
// #define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
// #define NEWSBLUR_URL [NSString stringWithFormat:@"nb.local.com"]
#define NEWSBLUR_URL [NSString stringWithFormat:@"www.newsblur.com"]
#define NEWSBLUR_LINK_COLOR 0x405BA8
#define NEWSBLUR_HIGHLIGHT_COLOR 0xd2e6fd

View file

@ -431,6 +431,7 @@ a.NB-show-profile {
.NB-header {
-webkit-user-select: none;
-webkit-highlight: none;
-webkit-touch-callout: none;
}
.NB-share-button {